Path is similar to Value.Path.
(path string)
| 93 | |
| 94 | // Path is similar to Value.Path. |
| 95 | func (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. |
| 103 | func (s *String) Schema(schema interface{}) *String { |