🚀. Socket Launch Week Day 2:Introducing Manifest Alerts.Learn more
Sign In

JsonPath.Net

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

JsonPath.Net

JSON Path (RFC 9535) built on the System.Text.Json namespace

Source
nugetNuGet
Version
3.0.2
Version published
Total downloads
7.7M
Maintainers
1
Created
Source

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.

Keywords

json-path

FAQs

Package last updated on 15 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts