needsQuoting
fn
bool needsQuoting(string key) @safe pure nothrowChecks if a key needs quoting.
A key needs quoting if it starts with a digit, contains special characters, or is a reserved word.
Parameters
key | The key to check |
Returns
true if the key requires quotes.