MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / pushObject

Method pushObject

pkg/util/json/parser.go:224–228  ·  view source on GitHub ↗

pushObject adds object builder and transitions state to read object.

()

Source from the content-addressed store, hash-verified

222
223// pushObject adds object builder and transitions state to read object.
224func (p *fastJSONParser) pushObject() {
225 p.obj = append(p.obj, ObjectBuilder{unordered: p.unordered})
226 p.kind = append(p.kind, kindObject)
227 p.state = (*fastJSONParser).parseObjectKey
228}
229
230// addObjectKey adds key to object builder and transitions state to read object
231// value.

Callers 3

parseTopValueMethod · 0.95
parseArrayValueMethod · 0.95
parseObjectValueMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected