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