Documentation
¶
Index ¶
Constants ¶
View Source
const ( QueryNone = "json" QueryGeo = "geo" QueryHAR = "har" QueryGLTF = "gltf" )
View Source
const ( TokInvalid = 0 TokNull = 1 << iota TokTrue TokFalse TokNumber TokString TokArray TokObject TokComma )
Variables ¶
This section is empty.
Functions ¶
func LooksLikeObjectOrArray ¶ added in v0.17.2
LooksLikeObjectOrArray reports if first non white space character from raw is either { or [. Parsing raw as JSON is a heavy operation. When receiving some text input we can skip parsing if the input does not even look like JSON.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.