MCPcopy Create free account
hub / github.com/jmespath/go-jmespath / NewParser

Function NewParser

parser.go:119–122  ·  view source on GitHub ↗

NewParser creates a new JMESPath parser.

()

Source from the content-addressed store, hash-verified

117
118// NewParser creates a new JMESPath parser.
119func NewParser() *Parser {
120 p := Parser{}
121 return &p
122}
123
124// Parse will compile a JMESPath expression.
125func (p *Parser) Parse(expression string) (ASTNode, error) {

Callers 10

CompileFunction · 0.85
SearchFunction · 0.85
runTestCaseFunction · 0.85
TestParsingErrorsFunction · 0.85
TestPrettyPrintedASTFunction · 0.85
runParseBenchmarkFunction · 0.85

Calls

no outgoing calls

Tested by 8

runTestCaseFunction · 0.68
TestParsingErrorsFunction · 0.68
TestPrettyPrintedASTFunction · 0.68
runParseBenchmarkFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…