Inheritance
System.Object
JSONNode
public abstract class JSONNode
Fields
Declaration
public static bool forceASCII
Field Value
Type |
Description |
System.Boolean |
|
Declaration
public static bool longAsString
Field Value
Type |
Description |
System.Boolean |
|
Properties
Declaration
public virtual JSONArray AsArray { get; }
Property Value
Declaration
public virtual bool AsBool { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public virtual double AsDouble { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public virtual float AsFloat { get; set; }
Property Value
Type |
Description |
System.Single |
|
Declaration
public virtual int AsInt { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public virtual long AsLong { get; set; }
Property Value
Type |
Description |
System.Int64 |
|
Declaration
public virtual JSONObject AsObject { get; }
Property Value
Declaration
public virtual IEnumerable<JSONNode> Children { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<JSONNode> |
|
Declaration
public virtual int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public IEnumerable<JSONNode> DeepChildren { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<JSONNode> |
|
Declaration
public virtual bool Inline { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public virtual bool IsArray { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public virtual bool IsBoolean { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public virtual bool IsNull { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public virtual bool IsNumber { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public virtual bool IsObject { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public virtual bool IsString { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public virtual JSONNode this[int aIndex] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
aIndex |
|
Property Value
Declaration
public virtual JSONNode this[string aKey] { get; set; }
Parameters
Type |
Name |
Description |
System.String |
aKey |
|
Property Value
Declaration
public JSONNode.KeyEnumerator Keys { get; }
Property Value
Declaration
public IEnumerable<KeyValuePair<string, JSONNode>> Linq { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, JSONNode>> |
|
Declaration
public abstract JSONNodeType Tag { get; }
Property Value
Declaration
public virtual string Value { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public JSONNode.ValueEnumerator Values { get; }
Property Value
Methods
Declaration
public virtual void Add(string aKey, JSONNode aItem)
Parameters
Type |
Name |
Description |
System.String |
aKey |
|
JSONNode |
aItem |
|
Declaration
public virtual void Add(JSONNode aItem)
Parameters
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
Declaration
public abstract JSONNode.Enumerator GetEnumerator()
Returns
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
public virtual JSONNode GetValueOrDefault(string aKey, JSONNode aDefault)
Parameters
Type |
Name |
Description |
System.String |
aKey |
|
JSONNode |
aDefault |
|
Returns
Declaration
public virtual bool HasKey(string aKey)
Parameters
Type |
Name |
Description |
System.String |
aKey |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static JSONNode Parse(string aJSON)
Parameters
Type |
Name |
Description |
System.String |
aJSON |
|
Returns
Declaration
public virtual JSONNode Remove(int aIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
aIndex |
|
Returns
Declaration
public virtual JSONNode Remove(string aKey)
Parameters
Type |
Name |
Description |
System.String |
aKey |
|
Returns
Declaration
public virtual JSONNode Remove(JSONNode aNode)
Parameters
Returns
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Declaration
public virtual string ToString(int aIndent)
Parameters
Type |
Name |
Description |
System.Int32 |
aIndent |
|
Returns
Type |
Description |
System.String |
|
Operators
Declaration
public static bool operator ==(JSONNode a, object b)
Parameters
Type |
Name |
Description |
JSONNode |
a |
|
System.Object |
b |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static implicit operator JSONNode(bool b)
Parameters
Type |
Name |
Description |
System.Boolean |
b |
|
Returns
Declaration
public static implicit operator JSONNode(KeyValuePair<string, JSONNode> aKeyValue)
Parameters
Type |
Name |
Description |
System.Collections.Generic.KeyValuePair<System.String, JSONNode> |
aKeyValue |
|
Returns
Declaration
public static implicit operator JSONNode(double n)
Parameters
Type |
Name |
Description |
System.Double |
n |
|
Returns
Declaration
public static implicit operator JSONNode(int n)
Parameters
Type |
Name |
Description |
System.Int32 |
n |
|
Returns
Declaration
public static implicit operator JSONNode(long n)
Parameters
Type |
Name |
Description |
System.Int64 |
n |
|
Returns
Declaration
public static implicit operator JSONNode(float n)
Parameters
Type |
Name |
Description |
System.Single |
n |
|
Returns
Declaration
public static implicit operator JSONNode(string s)
Parameters
Type |
Name |
Description |
System.String |
s |
|
Returns
Declaration
public static implicit operator bool (JSONNode d)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static implicit operator double (JSONNode d)
Parameters
Returns
Type |
Description |
System.Double |
|
Declaration
public static implicit operator int (JSONNode d)
Parameters
Returns
Type |
Description |
System.Int32 |
|
Declaration
public static implicit operator long (JSONNode d)
Parameters
Returns
Type |
Description |
System.Int64 |
|
Declaration
public static implicit operator float (JSONNode d)
Parameters
Returns
Type |
Description |
System.Single |
|
Declaration
public static implicit operator string (JSONNode d)
Parameters
Returns
Type |
Description |
System.String |
|
Declaration
public static bool operator !=(JSONNode a, object b)
Parameters
Type |
Name |
Description |
JSONNode |
a |
|
System.Object |
b |
|
Returns
Type |
Description |
System.Boolean |
|