Ejemplo 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())
     });
 }
Ejemplo n.º 2
0
 public JsonPointer(JsonNode node)
 {
     Path = new ArraySegment <string>(node.Path().Skip(1).Select(x => GetKeyFromParent(x)).ToArray());
 }