Click or drag to resize
JsonBool Class
Represents a JSON boolean.
Inheritance Hierarchy

Namespace: Dextronet.Jsonie
Assembly: Dextronet.Jsonie (in Dextronet.Jsonie.dll) Version: 1.0.0.0
Syntax
public class JsonBool : JsonValue

The JsonBool type exposes the following members.

Constructors
  NameDescription
Public methodJsonBool
Creates new JSON boolean of the specified value.
Top
Properties
  NameDescription
Public propertyValue
Gets the actual boolean value.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether current object is equal to another object.
(Overrides ObjectEquals(Object).)
Public methodEquals(JsonBool)
Determines whether current object is equal to another object.
Public methodEquals(JsonDynamic)
Determines whether current object is equal to another object.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode.)
Top
Operators
Fields
  NameDescription
Public fieldStatic memberFalse
JSON representation of the boolean False.
Public fieldStatic memberTrue
JSON representation of the boolean True.
Top
Extension Methods
  NameDescription
Public Extension MethodAsArray
Casts (CType) value to JsonObject.
(Defined by JsonValueExtensions.)
Public Extension MethodAsBoolean
Casts (CType) value to JsonBool.
(Defined by JsonValueExtensions.)
Public Extension MethodAsNumber
Casts (CType) value to JsonNumber.
(Defined by JsonValueExtensions.)
Public Extension MethodAsObject
Casts (CType) value to JsonObject.
(Defined by JsonValueExtensions.)
Public Extension MethodAsString
Casts (CType) value to JsonString.
(Defined by JsonValueExtensions.)
Public Extension MethodToDynamic
Wraps given json value to dynamic type.
(Defined by JsonValueExtensions.)
Top
Remarks
Immutable.
See Also