go back Home

Boolean

Boolean values may be represented by the following case-insensitive values:

Omitted values are interpreted as null when the service expects a Boolean and false when the service expects a boolean unless specified otherwise.

Example

For example, if you had a widget with an id integer field and an is_active boolean field, it might look like:

XML

<widget id="1" is_active="Y"/>

JSON

{"__type":"widget", "id":"1", "is_active":"Y"}

See also