JsonPath-cli 1.0.0

dotnet tool install --global JsonPath-cli --version 1.0.0                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local JsonPath-cli --version 1.0.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=JsonPath-cli&version=1.0.0                
nuke :add-package JsonPath-cli --version 1.0.0                

JSONPath

This tool is a simple CLI wrapper around Newtonsoft.Json.Net's JPATH parser. It reads from stdin, evaluates JSONpath expression and outputs json

To Install

dotnet tool install -g jsonpath-cli

To use

jsonpath [JSONPath expression]

Example

type json.txt | jsonpath *[jsonpathexpression]*

JsonPath CheatSheet

see https://goessner.net/articles/JsonPath/ for more details on JSONPath syntax

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 was computed.  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. 
.NET Core netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.0.0 685 4/24/2019