mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-26 13:59:44 +01:00
19 lines
324 B
Go
19 lines
324 B
Go
//+build appengine js
|
|
|
|
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.
|
|
}
|
|
|
|
func stringBytes(s string) []byte {
|
|
return []byte(s)
|
|
}
|
|
|
|
func bytesString(b []byte) string {
|
|
return string(b)
|
|
}
|