String
String
values are represented as a sequential set of characters. Some characters must be escaped depending
on the representation used for transfer mechanism. For example, the ampersand (&
) must be escaped as &
in XML.
Omitted values are interpreted as null
.
Example
For example, if you had a widget
with an id
integer field and a descr
String field, it might look like:
XML
<widget id="1" descr="Red & Blue Widget"/>
JSON
{"__type":"widget", "id":"1", "descr":"Red & Blue Widget"}
See also