Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mreiferson/go-ujson
/ functions
Functions
53 in github.com/mreiferson/go-ujson
⨍
Functions
53
◇
Types & classes
5
↓ 7 callers
Method
Get
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 callers
Method
skipWhitespace
()
decode.go:51
↓ 4 callers
Method
Float64
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 callers
Method
Int64
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 callers
Method
String
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 callers
Method
decodeAny
()
decode.go:68
↓ 3 callers
Method
Bool
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 callers
Method
Array
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 callers
Method
Decode
()
decode.go:45
↓ 2 callers
Method
MaybeMap
MaybeMap type asserts to `map`
ujson.go:72
↓ 2 callers
Function
NewDecoder
(store ObjectStore, data []byte)
decode.go:38
↓ 2 callers
Function
getu4
getu4 decodes \uXXXX from the beginning of s, returning the hex value, or it returns -1.
string.go:38
↓ 1 callers
Method
ArrayAddItem
(interface{}, interface{})
decode.go:23
↓ 1 callers
Method
MaybeArray
MaybeArray type asserts to `*[]interface{}`
ujson.go:238
↓ 1 callers
Method
MaybeBool
MaybeBool type asserts and parses an `bool`
ujson.go:205
↓ 1 callers
Method
MaybeFloat64
MaybeFloat64 type asserts and parses an `float64`
ujson.go:171
↓ 1 callers
Method
MaybeInt64
MaybeInt64 type asserts and parses an `int64`
ujson.go:137
↓ 1 callers
Method
MaybeString
MaybeString type asserts to `string`
ujson.go:106
↓ 1 callers
Method
NewArray
()
decode.go:21
↓ 1 callers
Method
NewFalse
()
decode.go:27
↓ 1 callers
Function
NewFromBytes
(data []byte)
ujson.go:12
↓ 1 callers
Method
NewNull
()
decode.go:28
↓ 1 callers
Method
NewNumeric
([]byte)
decode.go:25
↓ 1 callers
Method
NewObject
()
decode.go:20
↓ 1 callers
Method
NewString
([]byte)
decode.go:24
↓ 1 callers
Method
NewTrue
()
decode.go:26
↓ 1 callers
Method
ObjectAddKey
(interface{}, interface{}, interface{})
decode.go:22
↓ 1 callers
Function
byteToBase
(b []byte, base uint64)
string.go:12
↓ 1 callers
Method
decodeArray
()
decode.go:163
↓ 1 callers
Method
decodeFalse
()
decode.go:321
↓ 1 callers
Method
decodeNull
()
decode.go:346
↓ 1 callers
Method
decodeNumeric
()
decode.go:284
↓ 1 callers
Method
decodeObject
()
decode.go:96
↓ 1 callers
Method
decodeString
()
decode.go:227
↓ 1 callers
Method
decodeTrue
()
decode.go:300
↓ 1 callers
Function
unquote
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 callers
Function
unquoteBytes
(s []byte)
string.go:57
Method
ArrayAddItem
(ai interface{}, v interface{})
store.go:26
Function
BenchmarkStdLib
(b *testing.B)
ujson_test.go:98
Function
BenchmarkUjson
(b *testing.B)
ujson_test.go:76
Method
Float64
()
store.go:46
Method
Int64
()
store.go:42
Method
Interface
()
ujson.go:27
Method
Map
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
Method
NewArray
()
store.go:14
Method
NewFalse
()
store.go:58
Method
NewNull
()
store.go:62
Method
NewNumeric
(b []byte)
store.go:50
Method
NewObject
()
store.go:10
Method
NewString
(b []byte)
store.go:32
Method
NewTrue
()
store.go:54
Method
ObjectAddKey
(mi interface{}, k interface{}, v interface{})
store.go:19
Function
TestDecode
(t *testing.T)
ujson_test.go:10