Operator implicit operator
implicit operator JSONNode(string)
Declaration
public static implicit operator JSONNode(string s)
Parameters
Type | Name | Description |
---|---|---|
string | s | The s. |
Returns
Type | Description |
---|---|
JSONNode | The result of the conversion. |
implicit operator string(JSONNode)
Declaration
public static implicit operator string(JSONNode d)
Parameters
Type | Name | Description |
---|---|---|
JSONNode | d | The d. |
Returns
Type | Description |
---|---|
string | The result of the conversion. |
implicit operator JSONNode(double)
Declaration
public static implicit operator JSONNode(double n)
Parameters
Type | Name | Description |
---|---|---|
double | n | The n. |
Returns
Type | Description |
---|---|
JSONNode | The result of the conversion. |
implicit operator double(JSONNode)
Declaration
public static implicit operator double(JSONNode d)
Parameters
Type | Name | Description |
---|---|---|
JSONNode | d | The d. |
Returns
Type | Description |
---|---|
double | The result of the conversion. |
implicit operator JSONNode(float)
Declaration
public static implicit operator JSONNode(float n)
Parameters
Type | Name | Description |
---|---|---|
float | n | The n. |
Returns
Type | Description |
---|---|
JSONNode | The result of the conversion. |
implicit operator float(JSONNode)
Declaration
public static implicit operator float(JSONNode d)
Parameters
Type | Name | Description |
---|---|---|
JSONNode | d | The d. |
Returns
Type | Description |
---|---|
float | The result of the conversion. |
implicit operator JSONNode(int)
Declaration
public static implicit operator JSONNode(int n)
Parameters
Type | Name | Description |
---|---|---|
int | n | The n. |
Returns
Type | Description |
---|---|
JSONNode | The result of the conversion. |
implicit operator int(JSONNode)
Declaration
public static implicit operator int(JSONNode d)
Parameters
Type | Name | Description |
---|---|---|
JSONNode | d | The d. |
Returns
Type | Description |
---|---|
int | The result of the conversion. |
implicit operator JSONNode(bool)
Declaration
public static implicit operator JSONNode(bool b)
Parameters
Type | Name | Description |
---|---|---|
bool | b | if set to |
Returns
Type | Description |
---|---|
JSONNode | The result of the conversion. |
implicit operator bool(JSONNode)
Declaration
public static implicit operator bool(JSONNode d)
Parameters
Type | Name | Description |
---|---|---|
JSONNode | d | The d. |
Returns
Type | Description |
---|---|
bool | The result of the conversion. |
implicit operator JSONNode(KeyValuePair<string, JSONNode>)
Performs an implicit conversion from KeyValuePair<TKey, TValue> to JSONNode.
Declaration
public static implicit operator JSONNode(KeyValuePair<string, JSONNode> aKeyValue)
Parameters
Type | Name | Description |
---|---|---|
KeyValuePair<string, JSONNode> | aKeyValue | a key value. |
Returns
Type | Description |
---|---|
JSONNode | The result of the conversion. |
implicit operator JSONNode(Vector2)
Declaration
public static implicit operator JSONNode(Vector2 aVec)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | aVec | a vec. |
Returns
Type | Description |
---|---|
JSONNode | The result of the conversion. |
implicit operator JSONNode(Vector3)
Declaration
public static implicit operator JSONNode(Vector3 aVec)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | aVec | a vec. |
Returns
Type | Description |
---|---|
JSONNode | The result of the conversion. |
implicit operator JSONNode(Vector4)
Declaration
public static implicit operator JSONNode(Vector4 aVec)
Parameters
Type | Name | Description |
---|---|---|
Vector4 | aVec | a vec. |
Returns
Type | Description |
---|---|
JSONNode | The result of the conversion. |
implicit operator JSONNode(Quaternion)
Performs an implicit conversion from Quaternion to JSONNode.
Declaration
public static implicit operator JSONNode(Quaternion aRot)
Parameters
Type | Name | Description |
---|---|---|
Quaternion | aRot | a rot. |
Returns
Type | Description |
---|---|
JSONNode | The result of the conversion. |
implicit operator JSONNode(Rect)
Declaration
public static implicit operator JSONNode(Rect aRect)
Parameters
Type | Name | Description |
---|---|---|
Rect | aRect | a rect. |
Returns
Type | Description |
---|---|
JSONNode | The result of the conversion. |
implicit operator JSONNode(RectOffset)
Performs an implicit conversion from RectOffset to JSONNode.
Declaration
public static implicit operator JSONNode(RectOffset aRect)
Parameters
Type | Name | Description |
---|---|---|
RectOffset | aRect | a rect. |
Returns
Type | Description |
---|---|
JSONNode | The result of the conversion. |
implicit operator Vector2(JSONNode)
Declaration
public static implicit operator Vector2(JSONNode aNode)
Parameters
Type | Name | Description |
---|---|---|
JSONNode | aNode | a node. |
Returns
Type | Description |
---|---|
Vector2 | The result of the conversion. |
implicit operator Vector3(JSONNode)
Declaration
public static implicit operator Vector3(JSONNode aNode)
Parameters
Type | Name | Description |
---|---|---|
JSONNode | aNode | a node. |
Returns
Type | Description |
---|---|
Vector3 | The result of the conversion. |
implicit operator Vector4(JSONNode)
Declaration
public static implicit operator Vector4(JSONNode aNode)
Parameters
Type | Name | Description |
---|---|---|
JSONNode | aNode | a node. |
Returns
Type | Description |
---|---|
Vector4 | The result of the conversion. |
implicit operator Quaternion(JSONNode)
Performs an implicit conversion from JSONNode to Quaternion.
Declaration
public static implicit operator Quaternion(JSONNode aNode)
Parameters
Type | Name | Description |
---|---|---|
JSONNode | aNode | a node. |
Returns
Type | Description |
---|---|
Quaternion | The result of the conversion. |
implicit operator Rect(JSONNode)
Declaration
public static implicit operator Rect(JSONNode aNode)
Parameters
Type | Name | Description |
---|---|---|
JSONNode | aNode | a node. |
Returns
Type | Description |
---|---|
Rect | The result of the conversion. |
implicit operator RectOffset(JSONNode)
Performs an implicit conversion from JSONNode to RectOffset.
Declaration
public static implicit operator RectOffset(JSONNode aNode)
Parameters
Type | Name | Description |
---|---|---|
JSONNode | aNode | a node. |
Returns
Type | Description |
---|---|
RectOffset | The result of the conversion. |