2019-01-14 18:40:04 +03:00
|
|
|
//+build appengine js
|
2018-06-21 21:09:58 +03:00
|
|
|
|
|
|
|
package gjson
|
|
|
|
|
|
|
|
func getBytes(json []byte, path string) Result {
|
|
|
|
return Get(string(json), path)
|
|
|
|
}
|
|
|
|
func fillIndex(json string, c *parseContext) {
|
|
|
|
// noop. Use zero for the Index value.
|
|
|
|
}
|
2019-02-17 00:50:53 +03:00
|
|
|
|
|
|
|
func stringBytes(s string) []byte {
|
|
|
|
return []byte(s)
|
|
|
|
}
|
2019-02-17 04:29:39 +03:00
|
|
|
|
|
|
|
func bytesString(b []byte) string {
|
|
|
|
return string(b)
|
|
|
|
}
|