Problem
Cell values often contain JSON, Python literals, YAML-like mappings/lists, or accidentally quoted structures. Recipes need an explicit general-purpose parser for these values while preserving the existing JSON/YAML conversion wrangles.
Scope
- Add
convert.parse with any, dictionary, list, and scalar expected categories, per-column defaults, and missing-value handling.
- Return JSON-compatible values, including normalized NumPy values and independent mutable defaults.
- Reject YAML anchors, aliases, explicit tags, and unsupported output/default values; preserve YAML-only numeric forms such as
00123 and 12:34 as text.
- Keep
from_json, from_yaml, to_json, and to_yaml behavior unchanged. Migrating other wrangles or adding recursive parsing is outside this issue.
Acceptance criteria
Implementation and validation are tracked in #1187.
Problem
Cell values often contain JSON, Python literals, YAML-like mappings/lists, or accidentally quoted structures. Recipes need an explicit general-purpose parser for these values while preserving the existing JSON/YAML conversion wrangles.
Scope
convert.parsewithany,dictionary,list, andscalarexpected categories, per-column defaults, and missing-value handling.00123and12:34as text.from_json,from_yaml,to_json, andto_yamlbehavior unchanged. Migrating other wrangles or adding recursive parsing is outside this issue.Acceptance criteria
expected.Implementation and validation are tracked in #1187.