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

Method evaluate

path.go:16–18  ·  view source on GitHub ↗
(ctx context.Context, root interface{})

Source from the content-addressed store, hash-verified

14type ambiguousMatcher func(key, v interface{})
15
16func (p plainPath) evaluate(ctx context.Context, root interface{}) (interface{}, error) {
17 return p.evaluatePath(ctx, root, root)
18}
19
20func (p plainPath) evaluatePath(ctx context.Context, root, value interface{}) (interface{}, error) {
21 var err error

Callers

nothing calls this directly

Calls 1

evaluatePathMethod · 0.95

Tested by

no test coverage detected