MCPcopy Create free account
hub / github.com/go-json-experiment/json / Encoder

Struct Encoder

jsontext/encode.go:48–50  ·  view source on GitHub ↗

Encoder is a streaming encoder from raw JSON tokens and values. It is used to write a stream of top-level JSON values, each terminated with a newline character. [Encoder.WriteToken] and [Encoder.WriteValue] calls may be interleaved. For example, the following JSON value: {"name":"value","array":[

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected