Versions in this module Expand all Collapse all v0 v0.8.0 Jan 23, 2026 v0.7.2 Dec 18, 2025 v0.7.1 Oct 29, 2025 v0.7.0 Aug 13, 2025 v0.6.4 Jun 16, 2025 Changes in this version + const B_DOUBLE_UNQUOTE + const B_UNICODE_REPLACE + const ERR_WRAP_SHIFT_CODE + const ERR_WRAP_SHIFT_POS + const F_ALLOW_UNKNOWN + const F_DOUBLE_UNQUOTE + const F_HTTP_MAPPING + const F_NO_BASE64 + const F_NO_WRITE_BASE + const F_STRING_INT + const F_TRACE_BACK + const F_UNICODE_REPLACE + const F_VALUE_MAPPING + const F_WRITE_DEFAULT + const F_WRITE_OPTIONAL + const F_WRITE_REQUIRE + const J2T_DBUF_SIZE + const J2T_FIELD_CACHE_SIZE + const J2T_KEY_CACHE_SIZE + const J2T_REQS_CACHE_SIZE + const MAX_RECURSE + const MaxFloat64StringLen + const MaxInt64StringLen + const SPACE_MASK + const TB_SKIP_STACK_SIZE + const VM_JSCONV + const VM_NONE + func FreeJ2TStateMachine(ret *J2TStateMachine) + func FreeStateMachine(fsm *StateMachine) + func FreeTStateMachine(ret *TStateMachine) + type FieldValue struct + FieldID int32 + ValBegin uint32 + ValEnd uint32 + type J2TExtra [_SIZE_J2TEXTRA]uint64 + type J2TState struct + Extra J2TExtra + JsonPos int + State int + TypeDesc uintptr + func (s J2TState) String() string + func (self *J2TState) TdPointer() uintptr + type J2TStateMachine struct + FieldCache []int32 + FieldValueCache FieldValue + JT JsonState + KeyCache []byte + ReqsCache []byte + SM StateMachine + SP int + VT [MAX_RECURSE]J2TState + func NewJ2TStateMachine() *J2TStateMachine + func (fsm *J2TStateMachine) String() string + func (ret *J2TStateMachine) GrowFieldCache(n int) + func (ret *J2TStateMachine) GrowKeyCache(n int) + func (ret *J2TStateMachine) GrowReqCache(n int) + func (ret *J2TStateMachine) Init(start int, desc unsafe.Pointer) + func (ret *J2TStateMachine) SetPos(pos int) + func (self *J2TStateMachine) At(i int) *J2TState + func (self *J2TStateMachine) Drop() + func (self *J2TStateMachine) Next() *J2TState + func (self *J2TStateMachine) Now() *J2TState + type J2T_STATE uint8 + const J2T_ARR + const J2T_ARR_0 + const J2T_ELEM + const J2T_KEY + const J2T_OBJ + const J2T_OBJ_0 + const J2T_VAL + const J2T_VM + func (v J2T_STATE) String() string + type JsonState struct + Dbuf *byte + Dcap int + Dv float64 + Ep int64 + Iv int64 + Vt ValueType + func (s JsonState) String() string + type ParsingError uint + const ERR_DECODE_BASE64 + const ERR_DISMATCH_TYPE + const ERR_DISMATCH_TYPE2 + const ERR_EOF + const ERR_FLOAT_INFINITY + const ERR_HTTP_MAPPING + const ERR_HTTP_MAPPING_END + const ERR_INTEGER_OVERFLOW + const ERR_INVALID_CHAR + const ERR_INVALID_ESCAPE + const ERR_INVALID_NUMBER_FMT + const ERR_INVALID_UNICODE + const ERR_NULL_REQUIRED + const ERR_OOM_BM + const ERR_OOM_BUF + const ERR_OOM_FIELD + const ERR_OOM_FVAL + const ERR_OOM_KEY + const ERR_RECURSE_EXCEED_MAX + const ERR_UNKNOWN_FIELD + const ERR_UNSUPPORT_THRIFT_TYPE + const ERR_UNSUPPORT_VM_TYPE + const ERR_VALUE_MAPPING_END + func (self ParsingError) Error() string + func (self ParsingError) Message() string + type SearchingError uint + type StateMachine struct + Sp int + Vt [MAX_RECURSE]int64 + func NewStateMachine() *StateMachine + type TState struct + type TStateMachine [TB_SKIP_STACK_SIZE]TState + func NewTStateMachine() *TStateMachine + type ValueType int64 + const V_ARRAY + const V_DOUBLE + const V_EOF + const V_FALSE + const V_INTEGER + const V_MAX + const V_NULL + const V_OBJECT + const V_STRING + const V_TRUE + func (v ValueType) String() string