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

Function Example_protoJSON

example_test.go:368–410  ·  view source on GitHub ↗

Some Go types have a custom JSON representation where the implementation is delegated to some external package. Consequently, the "json" package will not know how to use that external implementation. For example, the [google.golang.org/protobuf/encoding/protojson] package implements JSON for all [go

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

MarshalFunction · 0.92
WithMarshalersFunction · 0.92
MarshalFuncFunction · 0.92
UnmarshalFunction · 0.92
WithUnmarshalersFunction · 0.92
UnmarshalFuncFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…