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

Method Path

string.go:95–100  ·  view source on GitHub ↗

Path is similar to Value.Path.

(path string)

Source from the content-addressed store, hash-verified

93
94// Path is similar to Value.Path.
95func (s *String) Path(path string) *Value {
96 opChain := s.chain.enter("Path(%q)", path)
97 defer opChain.leave()
98
99 return jsonPath(opChain, s.value, path)
100}
101
102// Schema is similar to Value.Schema.
103func (s *String) Schema(schema interface{}) *String {

Callers 1

TestString_PathFunction · 0.95

Calls 3

jsonPathFunction · 0.85
enterMethod · 0.80
leaveMethod · 0.80

Tested by 1

TestString_PathFunction · 0.76