Expand description
Import: JSON / YAML / TOML into Active source (C-046,
spec/converters.md §4). Best-effort by design: every lossy corner
carries a diagnostic, and the emitted source always parses.
Redacted "***SECRET***" markers import as plain strings —
exports are one-way, never resurrected into live secrets.
Functions§
- json_
text_ to_ active - Active source plus import notes for JSON text. Syntax failures are hard errors (the source format itself is broken).
- json_
value_ to_ active - Active source plus import notes for an already-parsed JSON value.
Objects become nested brace blocks; anything else wraps as
value = …with a W009 note. Always parses; lossy corners are diagnosed, never silent. - jsonschema_
to_ active - Active source (a
schemablock) plus import notes for a JSON Schema document. Syntax failures are hard errors; semantic gaps are W012. - toml_
text_ to_ active - Active source plus import notes for TOML text.
- yaml_
text_ to_ active - Active source plus import notes for YAML text.