Esempio n. 1
0
 public static JsonPointer Create(JsonNode node)
 {
     return(new JsonPointer
     {
         Path = new ArraySegment <Utf8String>(node.Path().Skip(1).Select(x => GetKeyFromParent(x)).ToArray())
     });
 }
Esempio n. 2
0
 public JsonPointer(JsonNode node)
 {
     Path = new ArraySegment <string>(node.Path().Skip(1).Select(x => GetKeyFromParent(x)).ToArray());
 }