JSONTestSuite icon indicating copy to clipboard operation
JSONTestSuite copied to clipboard

Support of latest JSON spec (RFC-8259)

Open plokhotnyuk opened this issue 7 years ago • 2 comments

https://www.rfc-editor.org/rfc/rfc8259.txt

plokhotnyuk avatar Jan 20 '18 18:01 plokhotnyuk

There are no applicable changes that I saw. Is there anything in particular you're concerned about?

pcrov avatar Feb 26 '18 08:02 pcrov

Two applicable changes in section 8.1. Character Encoding:

  • outside of closed eco-systems, JSON now MUST be encoded in UTF-8 (previously UTF-16 and UTF-32 were legal)
  • JSON text that is not networked-transmitted may now add a byte order mark (U+FEFF) (although not stated explicitly).

I'll update the article and the test files shortly.

nst avatar Feb 26 '18 13:02 nst