Expand description
JSON.parse union-target strategy resolver.
Structs§
Enums§
- Json
Narrow Reason - Object
Dispatch - PerTag
Strategy - Prim
Base - Booleans excluded — no
BooleanLiteralin the type system.
Functions§
- resolve_
json_ union_ strategy - Preconditions: every member is a valid
JSON.parsetarget (noUnknown,Function,InterfaceRef, etc.) and the union is canonical (sorted, deduplicated, flattened, noNever/Error). - resolve_
json_ union_ strategy_ with - Like
resolve_json_union_strategybut classifies recursion back-edges (Type::AliasRef) by expanding them one level viaexpand.
Type Aliases§
- Alias
Expander - One-level expander for recursion back-edges. Given a
Type::AliasRef, returns the alias body (peeled, args substituted); for any other type returnsty.peel()cloned. Lets the union resolver classify a recursive member by its underlying JSON kind without the resolver itself owning the type namespace.