tile38/vendor/github.com/tidwall/gjson/gjson_gae.go

19 lines
324 B
Go
Raw Normal View History

2019-02-17 23:10:02 +03:00
//+build appengine js
2018-10-18 16:30:41 +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 23:10:02 +03:00
func stringBytes(s string) []byte {
return []byte(s)
}
func bytesString(b []byte) string {
return string(b)
}