public static void FromJsonObjectToDictionary(IVOSJsonObject jobj, IDictionary <string, int> dct) { string key = string.Empty; for (int i = 0; i < jobj.count; ++i) { key = jobj.GetKey(i); dct.Add(key, jobj.GetIntField(key)); } }
public void DeserializeFromJson(IVOSJsonObject jobj) { denominator = jobj.GetIntField("Denominator"); numerator = jobj.GetIntField("Numerator"); }