JsonPointer.Net 7.0.3

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.

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
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace
288
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace
201
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace
129
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace
90
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace
75
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace
74
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace
72
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace
71
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace
42
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace
34
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace
23
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace
18
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
15
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace
15

.NET 10.0

.NET 8.0

.NET 9.0

.NET Standard 2.0

Version Downloads Last updated
7.0.3 4 08/10/2026
7.0.2 131 07/30/2026
7.0.1 429 03/18/2026
7.0.0 114 02/02/2026
6.0.1 257 12/18/2025
6.0.0 17 12/09/2025
5.3.1 15 12/29/2025
5.3.0 11 01/21/2026
5.2.0 12 12/09/2025
5.1.0 12 12/10/2025
5.0.2 12 12/09/2025
5.0.1 11 01/21/2026
5.0.0 14 01/21/2026
4.0.1.3 15 12/12/2025
4.0.1.1 15 12/09/2025
4.0.1 14 01/21/2026
4.0.0 15 12/09/2025
3.3.0 13 01/21/2026
3.2.2 14 12/09/2025
3.2.1 12 12/09/2025
3.2.0 12 12/09/2025
3.1.0 12 12/09/2025
3.0.3 13 01/21/2026
3.0.2 11 12/09/2025
3.0.1 11 01/21/2026
3.0.0 14 12/10/2025
2.2.1 14 01/21/2026
2.2.0 15 12/09/2025
2.1.0 12 12/09/2025
2.0.0 14 12/09/2025
1.4.0 11 12/09/2025
1.3.3 14 12/10/2025
1.3.2 12 12/09/2025
1.3.1 13 01/21/2026
1.3.0 11 01/21/2026
1.2.0 11 01/21/2026
1.1.2 15 12/09/2025
1.1.1 15 12/09/2025
1.1.0 12 01/21/2026
1.0.0 14 01/21/2026
1.0.0-rc2 12 12/10/2025
1.0.0-rc1 11 01/21/2026