MCPcopy Create free account

hub / github.com/mreiferson/go-ujson / functions

Functions53 in github.com/mreiferson/go-ujson

↓ 7 callersMethodGet
Get returns a pointer to a new `Json` object for `key` in its `map` representation useful for chaining operations (to traverse a nested JSON): js.Get
ujson.go:36
↓ 6 callersMethodskipWhitespace
()
decode.go:51
↓ 4 callersMethodFloat64
Float64 guarantees the return of an `float64` (with optional default) useful when you explicitly want an `float64` in a single value return context:
ujson.go:151
↓ 4 callersMethodInt64
Int64 guarantees the return of an `int64` (with optional default) useful when you explicitly want an `int64` in a single value return context: myFunc
ujson.go:117
↓ 4 callersMethodString
String guarantees the return of a `string` (with optional default) useful when you explicitly want a `string` in a single value return context: myFun
ujson.go:86
↓ 4 callersMethoddecodeAny
()
decode.go:68
↓ 3 callersMethodBool
Bool guarantees the return of an `bool` (with optional default) useful when you explicitly want an `bool` in a single value return context: myFunc(js
ujson.go:185
↓ 2 callersMethodArray
Array guarantees the return of an `[]*JSON` (with optional default) useful when you explicitly want an `bool` in a single value return context: myFun
ujson.go:216
↓ 2 callersMethodDecode
()
decode.go:45
↓ 2 callersMethodMaybeMap
MaybeMap type asserts to `map`
ujson.go:72
↓ 2 callersFunctionNewDecoder
(store ObjectStore, data []byte)
decode.go:38
↓ 2 callersFunctiongetu4
getu4 decodes \uXXXX from the beginning of s, returning the hex value, or it returns -1.
string.go:38
↓ 1 callersMethodArrayAddItem
(interface{}, interface{})
decode.go:23
↓ 1 callersMethodMaybeArray
MaybeArray type asserts to `*[]interface{}`
ujson.go:238
↓ 1 callersMethodMaybeBool
MaybeBool type asserts and parses an `bool`
ujson.go:205
↓ 1 callersMethodMaybeFloat64
MaybeFloat64 type asserts and parses an `float64`
ujson.go:171
↓ 1 callersMethodMaybeInt64
MaybeInt64 type asserts and parses an `int64`
ujson.go:137
↓ 1 callersMethodMaybeString
MaybeString type asserts to `string`
ujson.go:106
↓ 1 callersMethodNewArray
()
decode.go:21
↓ 1 callersMethodNewFalse
()
decode.go:27
↓ 1 callersFunctionNewFromBytes
(data []byte)
ujson.go:12
↓ 1 callersMethodNewNull
()
decode.go:28
↓ 1 callersMethodNewNumeric
([]byte)
decode.go:25
↓ 1 callersMethodNewObject
()
decode.go:20
↓ 1 callersMethodNewString
([]byte)
decode.go:24
↓ 1 callersMethodNewTrue
()
decode.go:26
↓ 1 callersMethodObjectAddKey
(interface{}, interface{}, interface{})
decode.go:22
↓ 1 callersFunctionbyteToBase
(b []byte, base uint64)
string.go:12
↓ 1 callersMethoddecodeArray
()
decode.go:163
↓ 1 callersMethoddecodeFalse
()
decode.go:321
↓ 1 callersMethoddecodeNull
()
decode.go:346
↓ 1 callersMethoddecodeNumeric
()
decode.go:284
↓ 1 callersMethoddecodeObject
()
decode.go:96
↓ 1 callersMethoddecodeString
()
decode.go:227
↓ 1 callersMethoddecodeTrue
()
decode.go:300
↓ 1 callersFunctionunquote
unquote converts a quoted JSON string literal s into an actual string t. The rules are different than for Go, so cannot use strconv.Unquote.
string.go:51
↓ 1 callersFunctionunquoteBytes
(s []byte)
string.go:57
MethodArrayAddItem
(ai interface{}, v interface{})
store.go:26
FunctionBenchmarkStdLib
(b *testing.B)
ujson_test.go:98
FunctionBenchmarkUjson
(b *testing.B)
ujson_test.go:76
MethodFloat64
()
store.go:46
MethodInt64
()
store.go:42
MethodInterface
()
ujson.go:27
MethodMap
Map guarantees the return of a `map[string]interface{}` (with optional default) useful when you want to interate over map values in a succinct manner
ujson.go:52
MethodNewArray
()
store.go:14
MethodNewFalse
()
store.go:58
MethodNewNull
()
store.go:62
MethodNewNumeric
(b []byte)
store.go:50
MethodNewObject
()
store.go:10
MethodNewString
(b []byte)
store.go:32
MethodNewTrue
()
store.go:54
MethodObjectAddKey
(mi interface{}, k interface{}, v interface{})
store.go:19
FunctionTestDecode
(t *testing.T)
ujson_test.go:10