pub fn validate_key(key: &str) -> DataResult<()>Expand description
Check a map key.
Keys are looser than names because they never enter a record key: they live inside the document. The only requirements are non-empty and bounded, so a single key cannot consume a meaningful share of the document’s byte budget on its own.