type encoding/json/jsontext.Kind
51 uses
encoding/json/jsontext (current package)
decode.go#L314: func (d *Decoder) PeekKind() Kind {
decode.go#L317: func (d *decoderState) PeekKind() Kind {
decode.go#L320: return Kind(d.buf[d.peekPos]).normalize()
decode.go#L353: next := Kind(d.buf[pos]).normalize()
decode.go#L375: const next = Kind('"')
decode.go#L391: func (d *decoderState) checkDelim(delim byte, next Kind) error {
decode.go#L475: var next Kind
decode.go#L484: next = Kind(d.buf[pos]).normalize()
decode.go#L514: next = Kind(d.buf[pos]).normalize()
decode.go#L684: var next Kind
decode.go#L693: next = Kind(d.buf[pos]).normalize()
decode.go#L723: next = Kind(d.buf[pos]).normalize()
decode.go#L861: switch next := Kind(d.buf[pos]).normalize(); next {
decode.go#L1200: func (d *Decoder) StackIndex(i int) (Kind, int64) {
encode.go#L443: func (e *encoderState) AppendRaw(k Kind, safeASCII bool, appendFn func([]byte) ([]byte, error)) error {
encode.go#L612: const next = Kind('"') // arbitrary kind as next JSON value
encode.go#L635: func (e *encoderState) appendWhitespace(b []byte, next Kind) []byte {
encode.go#L673: switch k := Kind(src[0]).normalize(); k {
encode.go#L973: func (e *Encoder) StackIndex(i int) (Kind, int64) {
state.go#L372: func (m stateMachine) NeedIndent(next Kind) (n int) {
state.go#L389: func (m stateMachine) MayAppendDelim(b []byte, next Kind) []byte {
state.go#L403: func (m stateMachine) needDelim(next Kind) (delim byte) {
state.go#L493: func (e stateEntry) needImplicitComma(next Kind) bool {
token.go#L261: if Kind(buf[0]) == '"' {
token.go#L328: if Kind(buf[0]).normalize() == '0' {
token.go#L398: if Kind(buf[0]).normalize() == '0' {
token.go#L477: if Kind(buf[0]).normalize() == '0' {
token.go#L556: if Kind(buf[0]).normalize() == '0' {
token.go#L603: func (t Token) Kind() Kind {
token.go#L610: return Kind(t.raw.buf[raw.prevStart]).normalize()
token.go#L625: type Kind byte
token.go#L628: KindInvalid Kind = 0 // invalid kind
token.go#L629: KindNull Kind = 'n' // null
token.go#L630: KindFalse Kind = 'f' // false
token.go#L631: KindTrue Kind = 't' // true
token.go#L632: KindString Kind = '"' // string
token.go#L633: KindNumber Kind = '0' // number
token.go#L634: KindBeginObject Kind = '{' // begin object
token.go#L635: KindEndObject Kind = '}' // end object
token.go#L636: KindBeginArray Kind = '[' // begin array
token.go#L637: KindEndArray Kind = ']' // end array
token.go#L640: const invalidKind Kind = 0
token.go#L643: func (k Kind) String() string {
token.go#L670: var normKind = [256]Kind{
token.go#L694: func (k Kind) normalize() Kind {
value.go#L255: func (v Value) Kind() Kind {
value.go#L257: return Kind(v[0]).normalize()
encoding/json/v2
arshal_default.go#L1997: func stringOrNumberKind(isString bool) jsontext.Kind {
errors.go#L89: JSONKind jsontext.Kind // may be zero if unknown
errors.go#L139: var k jsontext.Kind
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)