/// <summary>Gets this cache info as a JSON string. /// Returns null if it's empty.</summary> public string ToJSONString() { // Get JSON: JSObject json = ToJson(); if (json == null) { return(null); } // Write it out: return(json.ToJSONString()); }
/// <summary>Writes a JSON object to a string.</summary> public static string Stringify(JSObject jsonObject) { return(jsonObject.ToJSONString()); }
//--------------------------------------