public static JsonElement ToElement(this SmartJson element) { return(element.Element); }
public static byte[] ToBytes(this SmartJson json, JsonParser parser, Encoding encoding = null) { return((encoding ?? Encoding.Default).GetBytes(json.ToString(parser))); }
public static string ParseSmart(this JsonParser parser, SmartJson element) { return(element.ToString(parser)); }