Handle special characters in property name #297
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Our
formatPropertyName()
function doesn't handle?
in property name, which may result inOriginally posted by @Maxim-Mazurok in #208 (comment)
This probably should be handled using regular expressions. Check if a property name contains any non-letter characters and surround it with quotes in that case. Perhaps, quotes also should be handled somehow. And, perhaps, not all non-letter characters should be treated as "quotable".
The text was updated successfully, but these errors were encountered: