Skip to content

Commit 1b0f015

Browse files
authored
Update README.md
1 parent 6344343 commit 1b0f015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The JsonPath parser is based on the [Newtonsoft.Json](https://github.com/JamesNK
2121
]
2222
}";
2323

24-
var models = JsonDocument.Parse(json).RootElement;
24+
var models = JsonDocument.Parse(json);
2525

2626
var results = models.SelectElements("$.persons[?(@.age > 3)]").ToList();
2727
```

0 commit comments

Comments
 (0)