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

Function Example_textMarshal

example_test.go:30–63  ·  view source on GitHub ↗

If a type implements [encoding.TextMarshaler] and/or [encoding.TextUnmarshaler], then the MarshalText and UnmarshalText methods are used to encode/decode the value to/from a JSON string.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

MarshalFunction · 0.92
DeterministicFunction · 0.92
UnmarshalFunction · 0.92
IndentMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…