Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for arrayInterface (0.21 sec)

  1. src/encoding/json/decode.go

    	default:
    		panic(phasePanicMsg)
    	case scanBeginArray:
    		val = d.arrayInterface()
    		d.scanNext()
    	case scanBeginObject:
    		val = d.objectInterface()
    		d.scanNext()
    	case scanBeginLiteral:
    		val = d.literalInterface()
    	}
    	return
    }
    
    // arrayInterface is like array but returns []interface{}.
    func (d *decodeState) arrayInterface() []any {
    	var v = make([]any, 0)
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
Back to top