ClassJsonBaseType
Boxes a single JSON value which could be an array, a string, an int, a double, or a bool.
Definition
Namespace:ArtOfTest.WebAii.Javascript
Assembly:ArtOfTest.WebAii.dll
Syntax:
public class JsonBaseType
Inheritance: objectJsonBaseType
Derived Classes:
Properties
InternalValue
Gets / sets the value of this JSON object.
this[int]
Not supported.
Declaration
public virtual JsonBaseType this[int index] { get; set; }
Parameters
index
Not supported.
Property Value
Not supported.
this[string]
Not supported.
Declaration
public virtual JsonBaseType this[string key] { get; set; }
Parameters
key
Not supported.
Property Value
Not supported.
Operators
implicit operator bool(JsonBaseType)
Implicitly converts this JSON object to a bool.
Declaration
public static implicit operator bool(JsonBaseType type)
Parameters
type
The JSON object to convert.
Returns
The bool value contained in the JSON object.
Exceptions
Thrown when the JSON object does not contain a bool.
implicit operator double(JsonBaseType)
Implicitly converts this JSON object to a double.
Declaration
public static implicit operator double(JsonBaseType type)
Parameters
type
The JSON object to convert.
Returns
The double value contained in the JSON object.
Exceptions
Thrown when the JSON object does not contain a double.
implicit operator int(JsonBaseType)
Implicitly converts this JSON object to an int.
Declaration
public static implicit operator int(JsonBaseType type)
Parameters
type
The JSON object to convert.
Returns
The int value contained in the JSON object.
Exceptions
Thrown when the JSON object does not contain an int.
implicit operator string(JsonBaseType)
Implicitly converts this JSON object to a string.
Declaration
public static implicit operator string(JsonBaseType type)
Parameters
type
The JSON object to convert.
Returns
The string value contained in the JSON object.
Exceptions
Thrown when the JSON object does not contain a string.