Re: [json] Re: JSON -- rfc question -- Encoding
currently I have only something like \r, \n or \t, are those chars
allowed? Which control chars are you talking about? Thanks a lot.
On 14 Apr 2007 06:45:58 -0700, Douglas Crockford <douglas@...> wrote:
> --- In firstname.lastname@example.org, "Michael Schwarz" <michael.schwarz@...>
> > I have one more question, do I need to convert unicode characters to
> > something like "\u12345"?
> No. The \u notation is only required for some of the control characters.
Best regards | Schöne Grüße
Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer
MSN IM: passport@...
- --- In email@example.com, "Michael Schwarz" <michael.schwarz@...>
> currently I have only something like \r, \n or \t, are those charsNone of the control characters can appear in JSON strings. You can use
> allowed? Which control chars are you talking about? Thanks a lot.
the \u convention to represent them. A few of them, such as linefeed
and tab, have more compact representations such as \n and \t. Take