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

Method Path

object.go:129–134  ·  view source on GitHub ↗

Path is similar to Value.Path.

(path string)

Source from the content-addressed store, hash-verified

127
128// Path is similar to Value.Path.
129func (o *Object) Path(path string) *Value {
130 opChain := o.chain.enter("Path(%q)", path)
131 defer opChain.leave()
132
133 return jsonPath(opChain, o.value, path)
134}
135
136// Schema is similar to Value.Schema.
137func (o *Object) Schema(schema interface{}) *Object {

Callers 1

TestObject_PathFunction · 0.95

Calls 3

jsonPathFunction · 0.85
enterMethod · 0.80
leaveMethod · 0.80

Tested by 1

TestObject_PathFunction · 0.76