public static string Dump(object data, bool prettyPrint = false) { return(Encoder.Encode(data, prettyPrint)); }
public string Dump(EncodeOptions options = EncodeOptions.Default) { return(Encoder.Encode(this, options)); }
/// <summary> /// Encodes the given object into a JSON string. /// </summary> public static string Encode(object data, EncodeOptions options = EncodeOptions.None) { return(Encoder.Encode(data, options)); }