Java: detect control characters which are not correct for JSON

前端 未结 4 736
花落未央
花落未央 2021-02-07 11:11

I am reinventing the wheel and creating my own JSON parse methods in Java.

I am going by the (very nice!) documentation on json.org. The only part I am unsure about is w

4条回答
  •  醉话见心
    2021-02-07 12:03

    I believe the Unicode definition of a control character is:

    The 65 characters in the ranges U+0000..U+001F and U+007F..U+009F.

    That's their definition of a control code, but the above is followed by the sentence "Also known as control characters.", so...

提交回复
热议问题