Public classes


Scripts/

   JArray
   JBoolean
   JNull
   JNumber
   JSON
   JString
   JValue

Scripts/Exceptions/

      DeserializeException
      JArgumentException
      JArgumentNullException
      JArrayIndexOutOfRangeException
      JNumberFormatException
      JNumberOverflowException
      JSONKeyAlreadyExistsException
      JSONKeyNotFoundException
      JValueNullException
      JValueTypeException
      ParseException
      ProtectedException
      SerializeException
      UnknownObjectTypeException

Scripts/Settings/

      CreateStringSettings
      ParseStringSettings


Introduction page

JBoolean
Derived from JValue


Class to store boolean value in JSON format. Once JBoolean instance is created, its value can't be changed.


Constructors

public JBoolean (bool boolValue)Creates new instance of JBoolean class.

Methods

public bool AsBool ()Get value of this JSON boolean as c# system bool.
public override bool Equals (object anotherObject)Test if another object equals to this object.

Constructors

public JBoolean (bool boolValue)

Creates new instance of JBoolean class.

ParametersvalueBoolean value stored to this object.


Methods

public bool AsBool ()

Get value of this JSON boolean as c# system bool.

ReturnsSystem bool value.


public override bool Equals (object anotherObject)

Test if another object equals to this object. Another object can't be null and it have to be instance of JBoolean. Two JBoolean objects are equal if both contains same boolean value.

ParametersanotherObjectAnother object that is compared to this one.

ReturnsTrue if objects are equal, false otherwise.