phadej / relaxed-json

Relaxed JSON is strict superset JSON, relaxing strictness of vanilla JSON
http://oleg.fi/relaxed-json/
Other
80 stars 8 forks source link

Add unicode support? Unicode characters \u{...} #16

Open 18steps opened 7 years ago

18steps commented 7 years ago

Can unicode support be added?

This example is just from a string in an array of strings

SyntaxError: Unexpected character: "; input: "\u{1F468} Simple\n\u{1F550} 30 minutes","...
    at C:\...\relaxed-json.js:70:21
    at Object.parse (C:\....\relaxed-json.js:528:33)
ffischer1984 commented 3 years ago

have the same problem but with muted vowels e.g. ä,ü,ö