MCPcopy Create free account
hub / github.com/PaesslerAG/jsonpath / currentElementSelector

Function currentElementSelector

selector.go:18–22  ·  view source on GitHub ↗

@

()

Source from the content-addressed store, hash-verified

16
17//@
18func currentElementSelector() plainSelector {
19 return func(c context.Context, r, v interface{}) (interface{}, error) {
20 return c.Value(currentElement{}), nil
21 }
22}
23
24type currentElement struct{}
25

Callers 2

parseJSONObjectElementFunction · 0.85
parseCurrentPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…