JsonPointer.Net
6.0.0
See the version list below for details.
dotnet add package JsonPointer.Net --version 6.0.0
NuGet\Install-Package JsonPointer.Net -Version 6.0.0
<PackageReference Include="JsonPointer.Net" Version="6.0.0" />
<PackageVersion Include="JsonPointer.Net" Version="6.0.0" />
<PackageReference Include="JsonPointer.Net" />
paket add JsonPointer.Net --version 6.0.0
#r "nuget: JsonPointer.Net, 6.0.0"
#:package JsonPointer.Net@6.0.0
#addin nuget:?package=JsonPointer.Net&version=6.0.0
#tool nuget:?package=JsonPointer.Net&version=6.0.0
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.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Humanizer.Core (>= 3.0.1)
- Json.More.Net (>= 2.2.0)
-
net10.0
- Humanizer.Core (>= 3.0.1)
- Json.More.Net (>= 2.2.0)
-
net8.0
- Humanizer.Core (>= 3.0.1)
- Json.More.Net (>= 2.2.0)
-
net9.0
- Humanizer.Core (>= 3.0.1)
- Json.More.Net (>= 2.2.0)
NuGet packages (27)
Showing the top 5 NuGet packages that depend on JsonPointer.Net:
| Package | Downloads |
|---|---|
|
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace |
|
|
JsonPatch.Net
JSON Patch built on the System.Text.Json namespace |
|
|
JsonLogic
JsonLogic built on the System.Text.Json namespace |
|
|
Azure.Deployments.Extensibility.Core
Package Description |
|
|
Albatross.Expression
Albatross.Expression api is created to process and evaluate text based expression strings. The api tokenizes the expression text and create a tree model from the tokens. Using the model, it can evaluate the expression or convert it to a expression of different format. Some applications revert the process by creating the model first and using it to generate certain expression such as a sql query statement. The api also contains a useful ExecutionContext class that allows evaluation of expressions with variables. The variables can be read internally or directly from external objects. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on JsonPointer.Net:
| Repository | Stars |
|---|---|
|
ChilliCream/graphql-platform
Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Nitro the awesome Monaco based GraphQL IDE.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 6.0.1 | 14,137 | 12/18/2025 |
| 6.0.0 | 30,747 | 12/9/2025 |
| 5.3.1 | 3,543,197 | 2/4/2025 |
| 5.3.0 | 152,226 | 1/19/2025 |
| 5.2.0 | 6,446,339 | 1/2/2025 |
| 5.1.0 | 1,647,057 | 11/30/2024 |
| 5.0.2 | 4,119,622 | 7/2/2024 |
| 5.0.1 | 19,938 | 6/30/2024 |
| 5.0.0 | 5,954,057 | 5/1/2024 |
| 4.0.1.3 | 377,001 | 4/19/2024 |
| 4.0.1.1 | 864 | 4/19/2024 |
| 4.0.1 | 16,997 | 3/7/2024 |
| 4.0.0 | 1,395,288 | 2/3/2024 |
| 3.3.0 | 130,985 | 12/14/2023 |
| 3.2.2 | 1,528 | 12/6/2023 |
| 3.2.1 | 1,177 | 12/4/2023 |
| 3.2.0 | 28,028 | 11/17/2023 |
| 3.1.0 | 5,170 | 10/28/2023 |
| 3.0.3 | 6,034,555 | 8/26/2023 |
| 3.0.2 | 26,878 | 7/23/2023 |
| 3.0.1 | 4,181,896 | 3/30/2023 |
| 3.0.0 | 547,252 | 12/1/2022 |
| 2.2.1 | 2,393,985 | 6/16/2022 |
| 2.2.0 | 390,353 | 3/28/2022 |
| 2.1.0 | 993,609 | 11/15/2021 |
| 2.0.0 | 81,922 | 11/11/2021 |
| 1.4.0 | 228,640 | 9/11/2021 |
| 1.3.3 | 314,370 | 6/18/2021 |
| 1.3.2 | 134,630 | 2/24/2021 |
| 1.3.1 | 35,160 | 1/1/2021 |
| 1.3.0 | 3,867 | 12/19/2020 |
| 1.2.0 | 8,855 | 12/14/2020 |
| 1.1.2 | 8,368 | 11/28/2020 |
| 1.1.1 | 14,620 | 9/29/2020 |
| 1.1.0 | 3,391 | 9/1/2020 |
| 1.0.0 | 28,536 | 8/29/2020 |
| 1.0.0-rc2 | 1,194 | 8/29/2020 |
| 1.0.0-rc1 | 1,208 | 8/28/2020 |
Release notes can be found at https://docs.json-everything.net/rn-json-pointer/