Discover Packages
github.com/whyiug/agentapi-doctor
internal
normalizer
package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Jul 14, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package normalizer builds provider-neutral IR without overwriting the
provider-native JSON type or the capture-layer evidence that supports it.
JSONType returns the provider-native JSON type without converting numbers or
string-contained JSON into another type.
Normalize canonicalizes native JSON while preserving its type. A transform
that cannot round-trip produces an explicit loss/unavailable marker instead
of silently claiming semantic equality.
const (
TransformIdentity Transform = "identity"
TransformDecodeJSONString Transform = "decode_json_string"
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.