JsonPointer.Net 7.0.4
Summary
JsonPointer.Net implements the JSON Pointer specification RFC 6901, a string syntax for identifying a specific value within a JavaScript Object Notation (JSON) document.
Links
Usage
Parse a pointer:
var pointer = JsonPointer.Parse("/objects/and/3/arrays");
Build it manually:
var pointer = JsonPointer.Create("object", "and", 3, "arrays");
Or generate using an LINQ expression:
var pointer = JsonPointer.Create<MyObject>(x => x.objects.and[3].arrays);
Use the pointer to query JsonElement:
using var element = JsonDocument.Parse("{\"objects\":{\"and\":[\"item zero\",null,2,{\"arrays\":\"found me\"}]}}");
var result = pointer.Evaluate(element.RootElement);
// result: "found me"
or JsonNode:
var element = JsonNode.Parse("{\"objects\":{\"and\":[\"item zero\",null,2,{\"arrays\":\"found me\"}]}}");
var success = pointer.TryEvaluate(element, out var result);
// success: true
// result: "found me"
Sponsorship
If you found this library helpful and would like to promote continued development, please consider sponsoring the maintainers.
Showing the top 20 packages that depend on JsonPointer.Net.
| Packages | Downloads |
|---|---|
|
JsonPatch.Net
JSON Patch built on the System.Text.Json namespace
|
54 |
|
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace
|
53 |
|
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace
|
52 |
|
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace
|
51 |
|
JsonPatch.Net
JSON Patch built on the System.Text.Json namespace
|
51 |
|
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace
|
50 |
|
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
|
49 |
|
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace
|
48 |
|
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
|
48 |
|
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace
|
47 |
|
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
|
47 |
|
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
|
46 |
|
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
|
45 |
|
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace
|
45 |
Release notes can be found at https://docs.json-everything.net/rn-json-pointer/
.NET 10.0
- Json.More.Net (>= 3.0.1)
- Humanizer.Core (>= 3.0.10)
.NET 8.0
- Json.More.Net (>= 3.0.1)
- Humanizer.Core (>= 2.14.1)
.NET 9.0
- Json.More.Net (>= 3.0.1)
- Humanizer.Core (>= 3.0.10)
.NET Standard 2.0
- Json.More.Net (>= 3.0.1)
- Humanizer.Core (>= 3.0.10)
| Version | Downloads | Last updated |
|---|---|---|
| 7.0.4 | 6 | 10/26/2026 |
| 7.0.3 | 28 | 08/13/2026 |
| 7.0.2 | 22 | 07/27/2026 |
| 7.0.1 | 47 | 03/17/2026 |
| 7.0.0 | 41 | 02/04/2026 |
| 6.0.1 | 43 | 12/22/2025 |
| 6.0.0 | 3 | 10/11/2026 |
| 5.3.1 | 39 | 12/11/2025 |
| 5.3.0 | 4 | 10/11/2026 |
| 5.2.0 | 3 | 10/11/2026 |
| 5.1.0 | 5 | 10/11/2026 |
| 5.0.2 | 5 | 10/11/2026 |
| 5.0.1 | 5 | 10/01/2026 |
| 5.0.0 | 4 | 10/11/2026 |
| 4.0.1.3 | 36 | 12/12/2025 |
| 4.0.1.1 | 2 | 10/14/2026 |
| 4.0.1 | 36 | 12/13/2025 |
| 4.0.0 | 36 | 12/13/2025 |
| 3.3.0 | 38 | 12/11/2025 |
| 3.2.2 | 4 | 10/11/2026 |
| 3.2.1 | 4 | 09/28/2026 |
| 3.2.0 | 4 | 10/11/2026 |
| 3.1.0 | 36 | 12/11/2025 |
| 3.0.3 | 35 | 12/12/2025 |
| 3.0.2 | 42 | 12/12/2025 |
| 3.0.1 | 4 | 10/07/2026 |
| 3.0.0 | 40 | 12/18/2025 |
| 2.2.1 | 38 | 12/11/2025 |
| 2.2.0 | 30 | 12/11/2025 |
| 2.1.0 | 43 | 12/11/2025 |
| 2.0.0 | 38 | 12/12/2025 |
| 1.4.0 | 5 | 10/11/2026 |
| 1.3.3 | 39 | 12/16/2025 |
| 1.3.2 | 36 | 12/14/2025 |
| 1.3.1 | 4 | 09/29/2026 |
| 1.3.0 | 35 | 12/15/2025 |
| 1.2.0 | 6 | 10/06/2026 |
| 1.1.2 | 4 | 10/11/2026 |
| 1.1.1 | 33 | 12/16/2025 |
| 1.1.0 | 7 | 10/11/2026 |
| 1.0.0 | 34 | 12/12/2025 |
| 1.0.0-rc2 | 4 | 10/11/2026 |
| 1.0.0-rc1 | 3 | 10/11/2026 |