Share via


2.2.5.4.2 CSOM Char JSON Value

If a CSOM Char value is used in response JSON text, it is a JSON string and it MUST conform to the following ABNF syntax, as specified in [RFC2234]:

 csom-char-value         = rfc4627-quotation-mark 
                           restricted-char 
                           rfc4627-quotation-mark
 rfc4627-quotation-mark  = %x22                  ; "
 restricted-char         = rfc4627-unescaped /
                           rfc4627-escape (
                                 %x22 /          ; "    quotation mark  U+0022
                                 %x5C /          ; \    reverse solidus U+005C
                                 %x62 /          ; b    backspace       U+0008
                                 %x66 /          ; f    form feed       U+000C
                                 %x6E /          ; n    line feed       U+000A
                                 %x72 /          ; r    carriage return U+000D
                                 %x74 /          ; t    tab             U+0009
                                 %x75 4HEXDIG )  ; uXXXX                U+XXXX
 rfc4627-escape          = %x5C                  ; \
 rfc4627-quotation-mark  = %x22                  ; "
 rfc4627-unescaped       = %x20-21 / %x23-5B / %x5D-10FFFF

For example, the Unicode character with the value "0x2000" is specified as:

 "\u2000"

The Unicode character solidus "‘/’ (U+002F)" is specified as either:

 "\u002f"

Or:

 "\u002F"