MCPcopy Index your code
hub / github.com/PaesslerAG/jsonpath

github.com/PaesslerAG/jsonpath @0.1.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.1.1 ↗ · + Follow
82 symbols 179 edges 8 files 14 documented · 17% 14 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

JSONPath

Build Status Godoc

JSONPath is a complete implementation of http://goessner.net/articles/JsonPath/. JSONPath can be combined with a script language. In many web samples it's combined with javascript. This framework comes without a script language but can be easily extended with one. See example.

It is based on Gval and can be combined with the modular expression languages based on gval. So for script features like multiply, length, regex or many more take a look at the documentation in the GoDoc.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

appendAmbiguousSelector
called by 8
parse.go
parsePath
called by 6
parse.go
appendPlainSelector
called by 6
parse.go
currentContext
called by 4
selector.go
evaluatePath
called by 3
path.go
matcher
called by 3
path.go
directSelector
called by 3
selector.go
starSelector
called by 3
selector.go

Shape

Function 32
Method 32
Struct 8
FuncType 5
TypeAlias 3
Interface 2

Languages

Go100%

Modules by API surface

path.go21 symbols
placeholder.go19 symbols
selector.go16 symbols
parse.go12 symbols
jsonpath_test.go5 symbols
jsonpath.go4 symbols
example_test.go4 symbols
placeholder_test.go1 symbols

For agents

$ claude mcp add jsonpath \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact