Skip to main content

default_symbol_map

Function default_symbol_map 

Source
pub fn default_symbol_map() -> HashMap<String, String>
Available on crate feature transform-spell-symbols only.
Expand description

Built-in symbol → word map used by RecordTransform::SpellSymbols.

The defaults cover the common ASCII symbols that downstream identifier rules (snake_case, SQL column naming, JSON pointer paths) typically strip or reject. Symbols that are already identifier-safe (_, -, .) are intentionally left alone; symbols that keys_case strips outright ((, ), [, ], :, , …) are also omitted — chain keys_case after spell_symbols if you need them removed.