JsonPath.Net 2.1.1

dotnet add package JsonPath.Net --version 2.1.1
                    
NuGet\Install-Package JsonPath.Net -Version 2.1.1
                    
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.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="JsonPath.Net" Version="2.1.1" />
                    
Directory.Packages.props
<PackageReference Include="JsonPath.Net" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add JsonPath.Net --version 2.1.1
                    
#r "nuget: JsonPath.Net, 2.1.1"
                    
#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.
#addin nuget:?package=JsonPath.Net&version=2.1.1
                    
Install JsonPath.Net as a Cake Addin
#tool nuget:?package=JsonPath.Net&version=2.1.1
                    
Install JsonPath.Net as a Cake Tool

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.  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. 
.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 (195)

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 (8)

Showing the top 8 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
lulzsun/RePlays
Open-source game recording management software
nightroman/FarNet
Far Manager framework for .NET modules and scripts in PowerShell, F#, JavaScript.
BrycensRanch/SnapX
SnapX is a free, open-source, cross-platform tool that lets you capture or record any area of your screen and instantly share it with a single keypress. Upload images, videos, text, and more to multiple supported destinations—all with ease. ShareX fork
Version Downloads Last updated
2.1.1 123,071 2/6/2025
2.1.0 59,950 1/2/2025
2.0.1 72,820 12/27/2024
2.0.0 49,405 11/30/2024
1.1.6 478,686 9/30/2024
1.1.5 17,295 9/19/2024
1.1.4 247,344 8/5/2024
1.1.3 5,838 8/1/2024
1.1.2 103,556 6/24/2024
1.1.1 6,845 6/18/2024
1.1.0 320,993 5/21/2024
1.0.5 5,937 5/18/2024
1.0.4 6,369 5/16/2024
1.0.3 2,863 5/13/2024
1.0.2 10,659 5/9/2024
1.0.1.2 52,493 4/19/2024
1.0.1.1 346 4/19/2024
1.0.0 79,575 2/22/2024
0.8.1 45,371 2/11/2024
0.8.0 13,961 2/3/2024
0.7.1 131,866 1/8/2024
0.7.0 70,381 12/14/2023
0.6.8 629 12/14/2023
0.6.7 123,633 9/14/2023
0.6.6 1,173 9/11/2023
0.6.5 57,171 9/1/2023
0.6.4 94,839 8/2/2023
0.6.3 51,879 7/17/2023
0.6.2 40,819 6/4/2023
0.6.1 4,012 5/31/2023
0.6.0 773 5/29/2023
0.5.2 114,685 4/19/2023
0.5.1 23,411 3/24/2023
0.5.0 822 3/23/2023
0.4.0 19,311 2/23/2023
0.3.3 29,570 1/17/2023
0.3.2 873 1/16/2023
0.3.1 7,976 12/25/2022
0.3.0 4,368 12/25/2022
0.2.1 308,442 4/1/2022
0.2.0 239,830 3/26/2022
0.1.14 37,933 11/13/2021
0.1.13 14,219 10/5/2021
0.1.12 1,227 9/11/2021
0.1.11 984 9/6/2021
0.1.10 933 9/6/2021
0.1.9 913 9/4/2021
0.1.8 1,876 8/20/2021
0.1.7 2,367 6/20/2021
0.1.6 3,101 6/7/2021
0.1.5 2,234 2/24/2021
0.1.4 1,147 1/1/2021
0.1.3 1,059 12/23/2020
0.1.2 2,215 11/28/2020
0.1.1 1,146 9/30/2020
0.1.0 1,774 9/29/2020

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