True (Json function)

From m204wiki
Revision as of 03:22, 18 February 2015 by Alex (talk | contribs)
Jump to navigation Jump to search

Create a true Boolean JSON object (Json class)

[Introduced in Model 204 7.6]

This function creates a boolean Json object with a value of true.

Syntax

%json = [%(Json):]True

Syntax terms

%jsonJson object
[%(Json):] The optional class name in parentheses denotes a virtual constructor.

Usage notes

Examples

The following creates a boolean Json object with a value of false:

b %json is object json %json = true printText {~=%json} end

It prints:

%json=true

See also