Escape Sequences; Json Escape Sequences - Siemens SIMATIC CloudConnect CC7 Series Operating Instructions Manual

Industrial ethernet
Table of Contents

Advertisement

Escape sequences

B.1

JSON escape sequences

JSON escape sequences
When the JSON format is used for the user data, the following characters are converted into
escape sequences in the Publisher:
For the subscriber, the escape sequences are converted into the reverse direction.
To transfer the user data, see section User data format (Page 89).
Characters
\n
\r
\t
\"
\\
\u0000
\u0001
\u0002
\u0003
\u0004
\u0005
\u0006
\u0007
\b
\t
\n
\u000b
\f"
\r
\\u000e
\u000f
\u0010
\u0011
\u0012
\u0013
\u0014
\u0015
\u0016
SIMATIC CC7
Operating Instructions, 10/2019, C79000-G8976-C503-02
JSON escape sequence
\\n
\\r
\\t
\\"
\\\\
\\u0000
\\u0001
\\u0002
\\u0003
\\u0004
\\u0005
\\u0006
\\u0007
\\u0008
\\u0009
\\u000A
\\u000B
\\u000C
\\u000D
\\u000E
\\u000f
\\u0010
\\u0011
\\u0012
\\u0013
\\u0014
\\u0015
\\u0016
B
Note
New line *
Line break *
Tab *
Quotation marks
Double backslash
139

Advertisement

Table of Contents
loading

Table of Contents