MCPcopy Index your code
hub / github.com/gavv/httpexpect / Path

Method Path

array.go:120–125  ·  view source on GitHub ↗

Path is similar to Value.Path.

(path string)

Source from the content-addressed store, hash-verified

118
119// Path is similar to Value.Path.
120func (a *Array) Path(path string) *Value {
121 opChain := a.chain.enter("Path(%q)", path)
122 defer opChain.leave()
123
124 return jsonPath(opChain, a.value, path)
125}
126
127// Schema is similar to Value.Schema.
128func (a *Array) Schema(schema interface{}) *Array {

Callers 1

TestArray_PathFunction · 0.95

Calls 3

jsonPathFunction · 0.85
enterMethod · 0.80
leaveMethod · 0.80

Tested by 1

TestArray_PathFunction · 0.76