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

Method Build

pkg/util/json/json.go:352–354  ·  view source on GitHub ↗

Build returns a JSON object built from a key value pair sequence. After that, it should not be modified any longer.

()

Source from the content-addressed store, hash-verified

350// Build returns a JSON object built from a key value pair sequence. After that,
351// it should not be modified any longer.
352func (b *ObjectBuilderWithCounter) Build() JSON {
353 return b.ob.Build()
354}
355
356// Size returns the size in bytes of the JSON object the builder is going to build.
357func (b *ObjectBuilderWithCounter) Size() uintptr {

Callers

nothing calls this directly

Calls 1

BuildMethod · 0.45

Tested by

no test coverage detected