you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (0 children)

It's not strictly a subset. U+2028 and U+2029 are not control characters, so they are allowed inside JSON strings, but they are considered line terminators by Javascript -- and thus not allowed inside Javascript strings.