needsQuoting

private fnbool needsQuoting(string key) @safe pure nothrow

Checks if a key needs quoting.

Keys need quoting if they contain non-identifier characters.

Parameters

keyThe key to check

Returns

true if the key needs quoting