FairCom JSON Conventions

FairCom JSON Conventions

A JSON string may store any UTF-8 character. The following characters must be escaped in JSON.

  • \ is escaped as \\.
  • " is escaped as \".
  • Backspace is escaped as \b.
  • Formfeed is escaped as \f.
  • Linefeed is escaped as \n.
  • Carriage Return is escaped as \r.
  • Horizontal Tab is escaped as \t.
  • Special Unicode characters may be included using a hexadecimal Unicode escape sequence that is at least four digits and may be up to twelve digits. \uABCD.