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

Function StringifyWithLegacySemantics

v1/alias.go:809–811  ·  view source on GitHub ↗

StringifyWithLegacySemantics specifies that the `string` tag option may stringify bools and string values. It only takes effect on fields where the top-level type is a bool, string, numeric kind, or a pointer to such a kind. In contrast, the v2 default only allows the `string` tag option on Go types

(v bool)

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

Used in the wild real call sites across dependent graphs

searching dependent graphs…