Documentation
¶
Overview ¶
Package schema contains target-type-aware helpers used after syntax repair.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoInference = errors.New("jsonrepair: no schema inference applied")
ErrNoInference is returned when no supported schema drift normalization applies.
Functions ¶
func ObjectIntersectsFields ¶
ObjectIntersectsFields reports whether text is a JSON object with any target field.
func UnmarshalWithTargetShape ¶
UnmarshalWithTargetShape normalizes supported schema drift using v's Go type, then unmarshals the normalized JSON into v.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.