EZ JSON
by Nathanaël Cottin

org.ezjson
Class JSONBoolean

java.lang.Object
  extended by org.ezjson.JSONBoolean
All Implemented Interfaces:
JSONValue

public final class JSONBoolean
extends java.lang.Object
implements JSONValue

A JSON boolean represents a boolean value. This JSON type is not officially part of the JSON specification but provided for practical reasons

Author:
ncottin

Constructor Summary
JSONBoolean()
          Creates a JSON boolean with initial value set to false
JSONBoolean(boolean value)
          Creates and initializes a JSON boolean with an initial value
 
Method Summary
 boolean getValue()
           
 void setValue(boolean value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONBoolean

public JSONBoolean()
Creates a JSON boolean with initial value set to false


JSONBoolean

public JSONBoolean(boolean value)
Creates and initializes a JSON boolean with an initial value

Parameters:
value - The initial value
Method Detail

getValue

public boolean getValue()

setValue

public void setValue(boolean value)

EZ JSON
by Nathanaël Cottin