void SerializeObject(JSON obj) { SerializeDictionary(obj.fields); }
/// <summary> /// Converts a IDictionary / IList object or a simple type (string, int, etc.) into a JSON string /// </summary> /// <param name="json">A Dictionary<string, object> / List<object></param> /// <returns>A JSON encoded string, or null if object 'json' is not serializable</returns> public static string Serialize(JSON obj) { return(Serializer.Serialize(obj)); }