Closed tats-u closed 2 years ago
Thanks for the suggestion. JSON5 already allows for unquoted non-ASCII property names.
Property names can start with any character in the Unicode categories "Uppercase letter (Lu)", "Lowercase letter (Ll)", "Titlecase letter (Lt)", "Modifier letter (Lm)", "Other letter (Lo)", or "Letter number (Nl)".
Since あ belongs to the "Other letter (Lo)" category, your example is already valid JSON5.
So it is an online formatter issue. Thank you for the information.
Which online formatter is reporting an error?
@jordanbtucker Sorry I tried to find it but I could not. I found the other formatters that can be found in Google work well. I wonder where it has gone.
If JSON5 supports non-ASCII key names like JS, it will be more friendly for non-English users who is not good at English or programming.