public static Parse ( string json ) : |
||
json | string | |
return |
private static Operation Build(string op, string path, string key, JToken value) { if (String.IsNullOrEmpty(key)) { return(Operation.Parse("{ 'op' : '" + op + "' , path: '" + path + "', value: " + (value == null ? "null" : value.ToString(Formatting.None)) + "}")); } return(Operation.Parse("{ op : '" + op + "' , path : '" + Extend(path, key) + "' , value : " + (value == null ? "null" : value.ToString(Formatting.None)) + "}")); }