libperun

Class std.json.JSONBoolean

Synopsis

public final class JSONBoolean extends JSON

Represents a JSON boolean, which holds a true or false value.

Fields

Constructors

public JSONBoolean(bool value);

Construct a JSON boolean from the specified Perun boolean.

Methods

public bool toBool();

Get the Perun boolean value.

protected void outputTo(OutputStream strm,int depth);

No description given