package decoder
import "github.com/goccy/go-json/internal/decoder"
Index ¶
- func ReleaseRuntimeContext(ctx *RuntimeContext)
- type Decoder
- type Option
- type OptionFlags
- type RuntimeContext
- type Stream
Functions ¶
func ReleaseRuntimeContext ¶
func ReleaseRuntimeContext(ctx *RuntimeContext)
Types ¶
type Decoder ¶
type Decoder interface { Decode(*RuntimeContext, int64, int64, unsafe.Pointer) (int64, error) DecodeStream(*Stream, int64, unsafe.Pointer) error }
func CompileToGetDecoder ¶
type Option ¶
type Option struct { Flags OptionFlags Context context.Context }
type OptionFlags ¶
type OptionFlags uint8
const ( FirstWinOption OptionFlags = 1 << iota ContextOption )
type RuntimeContext ¶
func TakeRuntimeContext ¶
func TakeRuntimeContext() *RuntimeContext
type Stream ¶
type Stream struct { UseNumber bool DisallowUnknownFields bool Option *Option // contains filtered or unexported fields }
func NewStream ¶
func (*Stream) Buffered ¶
func (*Stream) More ¶
func (*Stream) PrepareForDecode ¶
func (*Stream) Reset ¶
func (s *Stream) Reset()
func (*Stream) Token ¶
func (*Stream) TotalOffset ¶
Source Files ¶
anonymous_field.go array.go bool.go bytes.go compile.go compile_norace.go context.go float.go func.go int.go interface.go map.go number.go option.go ptr.go slice.go stream.go string.go struct.go type.go uint.go unmarshal_json.go unmarshal_text.go wrapped_string.go
- Version
- v0.7.3
- Published
- Jun 29, 2021
- Platform
- js/wasm
- Imports
- 21 packages
- Last checked
- 6 hours ago –
Tools for package owners.