GetBytes searches json for the specified path. If working with bytes, this method preferred over Get(string(data), path)
(json []byte, path string)
| 2241 | // GetBytes searches json for the specified path. |
| 2242 | // If working with bytes, this method preferred over Get(string(data), path) |
| 2243 | func GetBytes(json []byte, path string) Result { |
| 2244 | return getBytes(json, path) |
| 2245 | } |
| 2246 | |
| 2247 | // runeit returns the rune from the the \uXXXX |
| 2248 | func runeit(json string) rune { |
searching dependent graphs…