MCPcopy Create free account
hub / github.com/gavv/httpexpect / Path

Method Path

number.go:91–96  ·  view source on GitHub ↗

Path is similar to Value.Path.

(path string)

Source from the content-addressed store, hash-verified

89
90// Path is similar to Value.Path.
91func (n *Number) Path(path string) *Value {
92 opChain := n.chain.enter("Path(%q)", path)
93 defer opChain.leave()
94
95 return jsonPath(opChain, n.value, path)
96}
97
98// Schema is similar to Value.Schema.
99func (n *Number) Schema(schema interface{}) *Number {

Callers 1

TestNumber_PathFunction · 0.95

Calls 3

jsonPathFunction · 0.85
enterMethod · 0.80
leaveMethod · 0.80

Tested by 1

TestNumber_PathFunction · 0.76