Strip quotes
strip_quotes
Strip-quotes strategy — remove quotes on simple JSON keys.
StripQuotesStrategy
Bases: SmeltStrategy
Remove quotes on simple alphanumeric JSON keys.
Source code in packages/axm-smelt/src/axm_smelt/strategies/strip_quotes.py
category
property
Strategy category (cosmetic).
name
property
Strategy identifier used in the registry.
apply(ctx)
Strip quotes from simple alphanumeric JSON keys.
Operates on ctx.text via regex — no parsing required. Guarded to
JSON only: the "word": pattern also matches quoted words in prose
and Markdown, so on any non-JSON format the input is returned
unchanged rather than silently mutated.