Public classes


Scripts/

   JArray
   JBoolean
   JNull
   JNumber
   JSON
   JString
   JValue

Scripts/Attributes/

      ExcludeFromJSONSerializeAttribute
      IncludeToJSONSerializeAttribute

Scripts/Exceptions/

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

Scripts/Settings/

      CreateStringSettings
      DeserializeSettings
      ParseStringSettings
      SerializeSettings


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.
public override string ToString ()Returns compact information of this JBoolean object as string, for debug purposes.

Constructors

public JBoolean (bool boolValue)

Creates new instance of JBoolean class.

ParametersboolValueBoolean 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. Always returns false if parameter object is null or it is not 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.


public override string ToString ()

Returns compact information of this JBoolean object as string, for debug purposes.

ReturnsSingle string with information of this JBoolean object.