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

Function Example_orderedObject

example_orderedobject_test.go:81–115  ·  view source on GitHub ↗

The exact order of JSON object can be preserved through the use of a specialized type that implements [MarshalerTo] and [UnmarshalerFrom].

()

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
AllowDuplicateNamesFunction · 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…