MCPcopy Create free account

hub / github.com/go-json-experiment/json / types & classes

Types & classes442 in github.com/go-json-experiment/json

↓ 197 callersTypeAliasValue
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 callersTypeAliasDelim
A Delim is a JSON array or object delimiter, one of [ ] { or }.
v1/stream.go:203
↓ 21 callersTypeAliasPointer
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 callersTypeAliasNumber
A Number represents a JSON number literal.
v1/decode.go:194
↓ 19 callersTypeAliasappendTokens
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 callersTypeAliasKind
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 callersTypeAliasIndent
internal/jsonopts/options.go:206
↓ 8 callersTypeAliasnamedInt64
arshal_test.go:93
↓ 6 callersTypeAliasCallCheck
CallCheck implements json.{Marshaler,Unmarshaler} on a pointer receiver.
v1/diff_test.go:568
↓ 6 callersTypeAliasbytesMarshalEmpty
arshal_test.go:582
↓ 6 callersTypeAliasbytesMarshalNonEmpty
arshal_test.go:583
↓ 6 callersTypeAliasnamedFloat64
arshal_test.go:95
↓ 6 callersTypeAliasnamedUint64
arshal_test.go:94
↓ 6 callersTypeAliasstringMarshalEmpty
arshal_test.go:580
↓ 6 callersTypeAliasstringMarshalNonEmpty
arshal_test.go:581
↓ 6 callersTypeAliasvalueAlwaysZero
arshal_test.go:589
↓ 6 callersTypeAliasvalueNeverZero
arshal_test.go:590
↓ 5 callersFuncTypeappendTextFunc
func([]byte) ([]byte, error)
arshal_test.go:572
↓ 5 callersFuncTypemarshalJSONv2Func
func(*jsontext.Encoder) error
arshal_test.go:570
↓ 4 callersFuncTypemarshalJSONv1Func
func() ([]byte, error)
arshal_test.go:571
↓ 4 callersFuncTypemarshalTextFunc
func() ([]byte, error)
arshal_test.go:573
↓ 4 callersTypeAliasnamedString
arshal_test.go:90
↓ 4 callersTypeAliaspointerAlwaysZero
arshal_test.go:591
↓ 4 callersTypeAliaspointerNeverZero
arshal_test.go:592
↓ 4 callersFuncTypeunmarshalJSONv2Func
func(*jsontext.Decoder) error
arshal_test.go:574
↓ 4 callersFuncTypeunmarshalTextFunc
func([]byte) error
arshal_test.go:576
↓ 2 callersTypeAliasbyteWithMarshalJSON
v1/decode_test.go:298
↓ 2 callersTypeAliasbyteWithMarshalText
v1/decode_test.go:326
↓ 2 callersTypeAliasintWithMarshalJSON
v1/decode_test.go:354
↓ 2 callersTypeAliasintWithMarshalText
v1/decode_test.go:382
↓ 2 callersTypeAliasnamedBool
arshal_test.go:89
↓ 2 callersTypeAliastextfloat
v1/encode_test.go:1049
↓ 2 callersFuncTypeunmarshalJSONv1Func
func([]byte) error
arshal_test.go:575
↓ 1 callersTypeAliasIndentPrefix
jsontext.WithIndent
internal/jsonopts/options.go:207
↓ 1 callersTypeAliasMapStringAny
fields_test.go:30
↓ 1 callersTypeAliasTAlias
v1/decode_test.go:72
↓ 1 callersTypeAliasTime3339
Time3339 is a time.Time which encodes to and from JSON as an RFC 3339 time in UTC.
v1/decode_test.go:2468
↓ 1 callersFuncTypeastVisitor
func(ast.Node) bool
alias_gen.go:298
↓ 1 callersTypeAliasblock
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 callersTypeAliasbyteKind
v1/decode_test.go:2329
↓ 1 callersTypeAliasjsonbyte
v1/encode_test.go:1027
↓ 1 callersTypeAliasjsonint
v1/encode_test.go:1035
↓ 1 callersTypeAliasmarshaledValue
v1/encode_test.go:1388
↓ 1 callersTypeAliasnocaseString
arshal_test.go:578
↓ 1 callersTypeAliasrenamedByteSlice
v1/encode_test.go:331
↓ 1 callersTypeAliasrenamedRenamedByteSlice
v1/encode_test.go:332
↓ 1 callersTypeAliastextUnmarshalerString
v1/decode_test.go:2822
↓ 1 callersTypeAliastextbyte
v1/encode_test.go:1031
↓ 1 callersTypeAliastextint
v1/encode_test.go:1039
↓ 1 callersTypeAliasu8marshal
u8marshal is an integer type that can marshal/unmarshal itself.
v1/decode_test.go:149
StructAll
v1/decode_test.go:1672
StructAllTypes
v1/diff_test.go:296
StructAmbig
v1/decode_test.go:282
StructAnimal
v1/example_test.go:45
TypeAliasAnimal
v1/example_marshaling_test.go:17
StructArshalValues
internal/jsonopts/options.go:41
StructB
v1/decode_test.go:414
StructBase
example_test.go:278
TypeAliasBools
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
StructBugA
v1/encode_test.go:734
StructBugB
v1/encode_test.go:738
StructBugC
v1/encode_test.go:743
StructBugD
v1/encode_test.go:841
StructBugX
Legal Go: We never use the repeated embedded field (S).
v1/encode_test.go:748
StructBugY
BugD's tagged S field should dominate BugA's.
v1/encode_test.go:846
StructBugZ
There are no tags here, so S should not appear.
v1/encode_test.go:869
TypeAliasByteLimit
jsontext.WithIndentPrefix
internal/jsonopts/options.go:208
TypeAliasC
C implements Marshaler and returns unescaped JSON.
v1/encode_test.go:522
TypeAliasCText
CText implements Marshaler and returns unescaped text.
v1/encode_test.go:529
StructCaseName
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
StructCasePos
CasePos represents a file and line number.
internal/jsontest/testcase.go:31
StructCheck
internal/jsonflags/flags_test.go:12
StructClear
internal/jsonflags/flags_test.go:15
StructCoderValues
internal/jsonopts/options.go:34
StructColor
v1/example_test.go:180
StructColorGroup
v1/example_test.go:21
StructComposites
v1/diff_test.go:459
TypeAliasConsumeNumberState
internal/jsonwire/decode.go:446
StructContainer
Container embeds Base and Other.
example_test.go:289
StructData
v1/encode_test.go:922
StructData
v1/stream_test.go:92
StructDecoder
A Decoder reads and decodes JSON values from an input stream.
v1/stream.go:20
StructDecoder
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
TypeAliasDepthLimit
jsontext.WithByteLimit
internal/jsonopts/options.go:209
StructDoublePtr
v1/decode_test.go:418
StructDummy
Trigger an error in Marshal with cyclic data.
v1/encode_test.go:912
StructDummy
Trigger an error in Marshal with cyclic data.
v1/bench_test.go:103
StructDummy
Trigger an error in Marshal with cyclic data.
v1/stream_test.go:79
StructEmbed
fields_test.go:22
StructEmbed0
v1/decode_test.go:201
StructEmbed0a
v1/decode_test.go:209
TypeAliasEmbed0b
v1/decode_test.go:217
TypeAliasEmbed0c
v1/decode_test.go:219
StructEmbed0p
v1/decode_test.go:221
StructEmbed0q
v1/decode_test.go:225
StructEncoder
An Encoder writes JSON values to an output stream.
v1/stream.go:112
StructEncoder
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
StructEntry
internal/jsontest/testdata.go:38
StructFaultyBuffer
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
StructFields
v1/diff_test.go:52
next →1–100 of 442, ranked by callers