JsonPath.Net 2.0.0

dotnet add package JsonPath.Net --version 2.0.0                
NuGet\Install-Package JsonPath.Net -Version 2.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="JsonPath.Net" Version="2.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add JsonPath.Net --version 2.0.0                
#r "nuget: JsonPath.Net, 2.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install JsonPath.Net as a Cake Addin
#addin nuget:?package=JsonPath.Net&version=2.0.0

// Install JsonPath.Net as a Cake Tool
#tool nuget:?package=JsonPath.Net&version=2.0.0                

Summary

JsonPath.Net implements the JSON Path specification RFC 9535, a string syntax for selecting and extracting JSON values from within a given JSON value.

Usage

var path = JsonPath.Parse("$.prop[0:6:2]");
var instance = JsonNode.Parse("{\"prop\":[0,1,2,3]}");

var results = path.Evaluate(instance);

/*
results:
[
  {
    "Value": 0,
    "Location": "$['prop'][0]"
  },
  {
    "Value": 2,
    "Location": "$['prop'][2]"
  }
]
*/

Sponsorship

If you found this library helpful and would like to promote continued development, please consider sponsoring the maintainers.

Product 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. 
.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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (193)

Showing the top 5 NuGet packages that depend on JsonPath.Net:

Package Downloads
OrchardCore.Abstractions

Orchard Core Framework is an application framework for building modular, multi-tenant applications on ASP.NET Core. Abstractions of OrchardCore ShellHost.

OrchardCore.Data.Abstractions

Orchard Core CMS is a Web Content Management System (CMS) built on top of the Orchard Core Framework. Abstractions for data access functionality

OrchardCore.Infrastructure.Abstractions

Orchard Core CMS is a Web Content Management System (CMS) built on top of the Orchard Core Framework. Abstractions for OrchardCoreCMS Infrastructure

OrchardCore.Mvc.Core

Orchard Core Framework is an application framework for building modular, multi-tenant applications on ASP.NET Core. Core Implementation for MVC application.

OrchardCore.Module.Targets

Orchard Core Framework is an application framework for building modular, multi-tenant applications on ASP.NET Core. Converts project/library into an OrchardCore Module that can be referenced in OrchardCore modular application.

GitHub repositories (6)

Showing the top 5 popular GitHub repositories that depend on JsonPath.Net:

Repository Stars
microsoft/garnet
Garnet is a remote cache-store from Microsoft Research that offers strong performance (throughput and latency), scalability, storage, recovery, cluster sharding, key migration, and replication features. Garnet can work with existing Redis clients.
OrchardCMS/OrchardCore
Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
microsoft/botbuilder-dotnet
Welcome to the Bot Framework SDK for .NET repository, which is the home for the libraries and packages that enable developers to build sophisticated bot applications using .NET.
prom3theu5/aspirational-manifests
Handle deployments of .NET Aspire AppHost Projects
meziantou/Meziantou.Framework
Version Downloads Last updated
2.0.0 764 11/30/2024
1.1.6 124,066 9/30/2024
1.1.5 14,621 9/19/2024
1.1.4 163,071 8/5/2024
1.1.3 5,573 8/1/2024
1.1.2 85,370 6/24/2024
1.1.1 4,426 6/18/2024
1.1.0 176,923 5/21/2024
1.0.5 3,757 5/18/2024
1.0.4 4,798 5/16/2024
1.0.3 2,494 5/13/2024
1.0.2 8,522 5/9/2024
1.0.1.2 37,799 4/19/2024
1.0.1.1 154 4/19/2024
1.0.0 65,763 2/22/2024
0.8.1 42,804 2/11/2024
0.8.0 13,129 2/3/2024
0.7.1 104,659 1/8/2024
0.7.0 63,583 12/14/2023
0.6.8 546 12/14/2023
0.6.7 118,251 9/14/2023
0.6.6 1,157 9/11/2023
0.6.5 55,845 9/1/2023
0.6.4 90,089 8/2/2023
0.6.3 47,543 7/17/2023
0.6.2 38,697 6/4/2023
0.6.1 3,748 5/31/2023
0.6.0 751 5/29/2023
0.5.2 112,362 4/19/2023
0.5.1 20,931 3/24/2023
0.5.0 807 3/23/2023
0.4.0 17,032 2/23/2023
0.3.3 27,468 1/17/2023
0.3.2 856 1/16/2023
0.3.1 7,938 12/25/2022
0.3.0 837 12/25/2022
0.2.1 298,670 4/1/2022
0.2.0 210,447 3/26/2022
0.1.14 37,051 11/13/2021
0.1.13 14,158 10/5/2021
0.1.12 1,200 9/11/2021
0.1.11 959 9/6/2021
0.1.10 908 9/6/2021
0.1.9 888 9/4/2021
0.1.8 1,847 8/20/2021
0.1.7 2,343 6/20/2021
0.1.6 3,077 6/7/2021
0.1.5 2,198 2/24/2021
0.1.4 1,115 1/1/2021
0.1.3 1,028 12/23/2020
0.1.2 2,063 11/28/2020
0.1.1 1,115 9/30/2020
0.1.0 1,423 9/29/2020

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