Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/go-json-experiment/json
/ types & classes
Types & classes
442 in github.com/go-json-experiment/json
⨍
Functions
1,017
◇
Types & classes
442
↓ 197 callers
TypeAlias
Value
NOTE: Value is analogous to v1 json.RawMessage. Value represents a single raw JSON value, which may be one of the following: - a JSON literal (i.e., n
jsontext/value.go:66
↓ 44 callers
TypeAlias
Delim
A Delim is a JSON array or object delimiter, one of [ ] { or }.
v1/stream.go:203
↓ 21 callers
TypeAlias
Pointer
Pointer is a JSON Pointer (RFC 6901) that references a particular JSON value relative to the root of the top-level JSON value. A Pointer is a slash-s
jsontext/state.go:95
↓ 19 callers
TypeAlias
Number
A Number represents a JSON number literal.
v1/decode.go:194
↓ 19 callers
TypeAlias
appendTokens
appendTokens is sequence of token kinds to append where none of them are expected to fail. For example: `[nft]` is equivalent to the following sequen
jsontext/state_test.go:95
↓ 18 callers
TypeAlias
Kind
A Kind represents the kind of a JSON token. Kind represents each possible JSON token kind with a single byte, which is conveniently the first byte of
jsontext/token.go:625
↓ 10 callers
TypeAlias
Indent
internal/jsonopts/options.go:206
↓ 8 callers
TypeAlias
namedInt64
arshal_test.go:93
↓ 6 callers
TypeAlias
CallCheck
CallCheck implements json.{Marshaler,Unmarshaler} on a pointer receiver.
v1/diff_test.go:568
↓ 6 callers
TypeAlias
bytesMarshalEmpty
arshal_test.go:582
↓ 6 callers
TypeAlias
bytesMarshalNonEmpty
arshal_test.go:583
↓ 6 callers
TypeAlias
namedFloat64
arshal_test.go:95
↓ 6 callers
TypeAlias
namedUint64
arshal_test.go:94
↓ 6 callers
TypeAlias
stringMarshalEmpty
arshal_test.go:580
↓ 6 callers
TypeAlias
stringMarshalNonEmpty
arshal_test.go:581
↓ 6 callers
TypeAlias
valueAlwaysZero
arshal_test.go:589
↓ 6 callers
TypeAlias
valueNeverZero
arshal_test.go:590
↓ 5 callers
FuncType
appendTextFunc
func([]byte) ([]byte, error)
arshal_test.go:572
↓ 5 callers
FuncType
marshalJSONv2Func
func(*jsontext.Encoder) error
arshal_test.go:570
↓ 4 callers
FuncType
marshalJSONv1Func
func() ([]byte, error)
arshal_test.go:571
↓ 4 callers
FuncType
marshalTextFunc
func() ([]byte, error)
arshal_test.go:573
↓ 4 callers
TypeAlias
namedString
arshal_test.go:90
↓ 4 callers
TypeAlias
pointerAlwaysZero
arshal_test.go:591
↓ 4 callers
TypeAlias
pointerNeverZero
arshal_test.go:592
↓ 4 callers
FuncType
unmarshalJSONv2Func
func(*jsontext.Decoder) error
arshal_test.go:574
↓ 4 callers
FuncType
unmarshalTextFunc
func([]byte) error
arshal_test.go:576
↓ 2 callers
TypeAlias
byteWithMarshalJSON
v1/decode_test.go:298
↓ 2 callers
TypeAlias
byteWithMarshalText
v1/decode_test.go:326
↓ 2 callers
TypeAlias
intWithMarshalJSON
v1/decode_test.go:354
↓ 2 callers
TypeAlias
intWithMarshalText
v1/decode_test.go:382
↓ 2 callers
TypeAlias
namedBool
arshal_test.go:89
↓ 2 callers
TypeAlias
textfloat
v1/encode_test.go:1049
↓ 2 callers
FuncType
unmarshalJSONv1Func
func([]byte) error
arshal_test.go:575
↓ 1 callers
TypeAlias
IndentPrefix
jsontext.WithIndent
internal/jsonopts/options.go:207
↓ 1 callers
TypeAlias
MapStringAny
fields_test.go:30
↓ 1 callers
TypeAlias
TAlias
v1/decode_test.go:72
↓ 1 callers
TypeAlias
Time3339
Time3339 is a time.Time which encodes to and from JSON as an RFC 3339 time in UTC.
v1/decode_test.go:2468
↓ 1 callers
FuncType
astVisitor
func(ast.Node) bool
alias_gen.go:298
↓ 1 callers
TypeAlias
block
block is the data for a single compressed block. The data starts immediately after the 3 byte block header, and is Block_Size bytes long.
internal/zstd/bits.go:14
↓ 1 callers
TypeAlias
byteKind
v1/decode_test.go:2329
↓ 1 callers
TypeAlias
jsonbyte
v1/encode_test.go:1027
↓ 1 callers
TypeAlias
jsonint
v1/encode_test.go:1035
↓ 1 callers
TypeAlias
marshaledValue
v1/encode_test.go:1388
↓ 1 callers
TypeAlias
nocaseString
arshal_test.go:578
↓ 1 callers
TypeAlias
renamedByteSlice
v1/encode_test.go:331
↓ 1 callers
TypeAlias
renamedRenamedByteSlice
v1/encode_test.go:332
↓ 1 callers
TypeAlias
textUnmarshalerString
v1/decode_test.go:2822
↓ 1 callers
TypeAlias
textbyte
v1/encode_test.go:1031
↓ 1 callers
TypeAlias
textint
v1/encode_test.go:1039
↓ 1 callers
TypeAlias
u8marshal
u8marshal is an integer type that can marshal/unmarshal itself.
v1/decode_test.go:149
Struct
All
v1/decode_test.go:1672
Struct
AllTypes
v1/diff_test.go:296
Struct
Ambig
v1/decode_test.go:282
Struct
Animal
v1/example_test.go:45
TypeAlias
Animal
v1/example_marshaling_test.go:17
Struct
ArshalValues
internal/jsonopts/options.go:41
Struct
B
v1/decode_test.go:414
Struct
Base
example_test.go:278
TypeAlias
Bools
Bools represents zero or more boolean flags, all set to true or false. The least-significant bit is the boolean value of all flags in the set. The rem
internal/jsonflags/flags.go:20
Struct
BugA
v1/encode_test.go:734
Struct
BugB
v1/encode_test.go:738
Struct
BugC
v1/encode_test.go:743
Struct
BugD
v1/encode_test.go:841
Struct
BugX
Legal Go: We never use the repeated embedded field (S).
v1/encode_test.go:748
Struct
BugY
BugD's tagged S field should dominate BugA's.
v1/encode_test.go:846
Struct
BugZ
There are no tags here, so S should not appear.
v1/encode_test.go:869
TypeAlias
ByteLimit
jsontext.WithIndentPrefix
internal/jsonopts/options.go:208
TypeAlias
C
C implements Marshaler and returns unescaped JSON.
v1/encode_test.go:522
TypeAlias
CText
CText implements Marshaler and returns unescaped text.
v1/encode_test.go:529
Struct
CaseName
TODO(https://go.dev/issue/52751): Replace with native testing support. CaseName is a case name annotated with a file and line.
internal/jsontest/testcase.go:18
Struct
CasePos
CasePos represents a file and line number.
internal/jsontest/testcase.go:31
Struct
Check
internal/jsonflags/flags_test.go:12
Struct
Clear
internal/jsonflags/flags_test.go:15
Struct
CoderValues
internal/jsonopts/options.go:34
Struct
Color
v1/example_test.go:180
Struct
ColorGroup
v1/example_test.go:21
Struct
Composites
v1/diff_test.go:459
TypeAlias
ConsumeNumberState
internal/jsonwire/decode.go:446
Struct
Container
Container embeds Base and Other.
example_test.go:289
Struct
Data
v1/encode_test.go:922
Struct
Data
v1/stream_test.go:92
Struct
Decoder
A Decoder reads and decodes JSON values from an input stream.
v1/stream.go:20
Struct
Decoder
NOTE: The logic for decoding is complicated by the fact that reading from an io.Reader into a temporary buffer means that the buffer may contain a tru
jsontext/decode.go:78
TypeAlias
DepthLimit
jsontext.WithByteLimit
internal/jsonopts/options.go:209
Struct
DoublePtr
v1/decode_test.go:418
Struct
Dummy
Trigger an error in Marshal with cyclic data.
v1/encode_test.go:912
Struct
Dummy
Trigger an error in Marshal with cyclic data.
v1/bench_test.go:103
Struct
Dummy
Trigger an error in Marshal with cyclic data.
v1/stream_test.go:79
Struct
Embed
fields_test.go:22
Struct
Embed0
v1/decode_test.go:201
Struct
Embed0a
v1/decode_test.go:209
TypeAlias
Embed0b
v1/decode_test.go:217
TypeAlias
Embed0c
v1/decode_test.go:219
Struct
Embed0p
v1/decode_test.go:221
Struct
Embed0q
v1/decode_test.go:225
Struct
Encoder
An Encoder writes JSON values to an output stream.
v1/stream.go:112
Struct
Encoder
Encoder is a streaming encoder from raw JSON tokens and values. It is used to write a stream of top-level JSON values, each terminated with a newline
jsontext/encode.go:48
Struct
Entry
internal/jsontest/testdata.go:38
Struct
FaultyBuffer
FaultyBuffer implements io.Reader and io.Writer. It may process fewer bytes than the provided buffer and may randomly return an error.
jsontext/coder_test.go:797
Struct
Fields
v1/diff_test.go:52
next →
1–100 of 442, ranked by callers