JsonPointer.Net 4.0.1.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"

Showing the top 20 packages that depend on JsonPointer.Net.

Packages Downloads
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace
3
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace
4
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
3
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
4

Release notes can be found at https://docs.json-everything.net/rn-json-pointer/

.NET 8.0

.NET Standard 2.0

Version Downloads Last updated
7.0.1 2 2026/4/24
7.0.0 2 2026/4/25
6.0.1 1 2026/4/26
6.0.0 2 2026/4/25
5.3.1 2 2026/4/26
5.3.0 2 2026/4/25
5.2.0 2 2026/4/25
5.1.0 2 2026/4/25
5.0.2 2 2026/4/25
5.0.1 2 2026/4/25
5.0.0 2 2026/4/25
4.0.1.3 2 2026/4/24
4.0.1.1 3 2026/4/24
4.0.1 2 2026/4/25
4.0.0 2 2026/4/25
3.3.0 3 2026/4/24
3.2.2 3 2026/4/24
3.2.1 2 2026/4/25
3.2.0 2 2026/4/25
3.1.0 2 2026/4/25
3.0.3 3 2026/4/24
3.0.2 2 2026/4/25
3.0.1 2 2026/4/25
3.0.0 3 2026/4/24
2.2.1 2 2026/4/28
2.2.0 2 2026/4/25
2.1.0 2 2026/4/25
2.0.0 2 2026/4/25
1.4.0 2 2026/4/25
1.3.3 3 2026/4/24
1.3.2 2 2026/4/28
1.3.1 3 2026/4/24
1.3.0 2 2026/4/25
1.2.0 2 2026/4/25
1.1.2 2 2026/4/25
1.1.1 3 2026/4/24
1.1.0 2 2026/4/28
1.0.0 2 2026/4/25
1.0.0-rc2 3 2026/4/24
1.0.0-rc1 3 2026/4/24