Improve this Doc
Class JSONNode
Inheritance
System.Object
JSONNode
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:uFrame.Json
Assembly:cs.temp.dll.dll
Syntax
Properties
|
Improve this Doc
AsArray
Declaration
public virtual JSONArray AsArray { get; }
Property Value
|
Improve this Doc
AsBool
Declaration
public virtual bool AsBool { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
AsDouble
Declaration
public virtual double AsDouble { get; set; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
AsFloat
Declaration
public virtual float AsFloat { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
AsInt
Declaration
public virtual int AsInt { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
AsObject
Declaration
public virtual JSONClass AsObject { get; }
Property Value
|
Improve this Doc
AsQuaternion
Declaration
public virtual Quaternion AsQuaternion { get; set; }
Property Value
Type |
Description |
Quaternion |
|
|
Improve this Doc
AsString
Declaration
public virtual string AsString { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
AsVector2
Declaration
public virtual Vector2 AsVector2 { get; set; }
Property Value
|
Improve this Doc
AsVector3
Declaration
public virtual Vector3 AsVector3 { get; set; }
Property Value
|
Improve this Doc
AsVector4
Declaration
public virtual Vector4 AsVector4 { get; set; }
Property Value
|
Improve this Doc
Childs
Declaration
public virtual IEnumerable<JSONNode> Childs { get; }
Property Value
|
Improve this Doc
Count
Declaration
public virtual int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
DeepChilds
Declaration
public IEnumerable<JSONNode> DeepChilds { get; }
Property Value
|
Improve this Doc
Item[Int32]
Declaration
public virtual JSONNode this[int aIndex] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
aIndex |
|
Property Value
|
Improve this Doc
Item[String]
Declaration
public virtual JSONNode this[string aKey] { get; set; }
Parameters
Type |
Name |
Description |
System.String |
aKey |
|
Property Value
|
Improve this Doc
TabIndex
Declaration
public static int TabIndex { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
TabString
Declaration
public static string TabString { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
Value
Declaration
public virtual string Value { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
Add(String, JSONNode)
Declaration
public virtual void Add(string aKey, JSONNode aItem)
Parameters
Type |
Name |
Description |
System.String |
aKey |
|
JSONNode |
aItem |
|
|
Improve this Doc
Add(JSONNode)
Declaration
public virtual void Add(JSONNode aItem)
Parameters
|
Improve this Doc
Deserialize(BinaryReader)
Declaration
public static JSONNode Deserialize(BinaryReader aReader)
Parameters
Type |
Name |
Description |
System.IO.BinaryReader |
aReader |
|
Returns
|
Improve this Doc
Equals(Object)
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)
|
Improve this Doc
Escape(String)
Declaration
public static string Escape(string aText)
Parameters
Type |
Name |
Description |
System.String |
aText |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
|
Improve this Doc
LoadFromBase64(String)
Declaration
public static JSONNode LoadFromBase64(string aBase64)
Parameters
Type |
Name |
Description |
System.String |
aBase64 |
|
Returns
|
Improve this Doc
LoadFromCompressedBase64(String)
Declaration
public static JSONNode LoadFromCompressedBase64(string aBase64)
Parameters
Type |
Name |
Description |
System.String |
aBase64 |
|
Returns
|
Improve this Doc
LoadFromCompressedFile(String)
Declaration
public static JSONNode LoadFromCompressedFile(string aFileName)
Parameters
Type |
Name |
Description |
System.String |
aFileName |
|
Returns
|
Improve this Doc
LoadFromCompressedStream(Stream)
Declaration
public static JSONNode LoadFromCompressedStream(Stream aData)
Parameters
Type |
Name |
Description |
System.IO.Stream |
aData |
|
Returns
|
Improve this Doc
LoadFromFile(String)
Declaration
public static JSONNode LoadFromFile(string aFileName)
Parameters
Type |
Name |
Description |
System.String |
aFileName |
|
Returns
|
Improve this Doc
LoadFromStream(Stream)
Declaration
public static JSONNode LoadFromStream(Stream aData)
Parameters
Type |
Name |
Description |
System.IO.Stream |
aData |
|
Returns
|
Improve this Doc
Parse(String)
Declaration
public static JSONNode Parse(string aJSON)
Parameters
Type |
Name |
Description |
System.String |
aJSON |
|
Returns
|
Improve this Doc
Remove(Int32)
Declaration
public virtual JSONNode Remove(int aIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
aIndex |
|
Returns
|
Improve this Doc
Remove(String)
Declaration
public virtual JSONNode Remove(string aKey)
Parameters
Type |
Name |
Description |
System.String |
aKey |
|
Returns
|
Improve this Doc
Remove(JSONNode)
Declaration
public virtual JSONNode Remove(JSONNode aNode)
Parameters
Returns
|
Improve this Doc
SaveToBase64()
Declaration
public string SaveToBase64()
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
SaveToCompressedBase64()
Declaration
public string SaveToCompressedBase64()
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
SaveToCompressedFile(String)
Declaration
public void SaveToCompressedFile(string aFileName)
Parameters
Type |
Name |
Description |
System.String |
aFileName |
|
|
Improve this Doc
SaveToCompressedStream(Stream)
Declaration
public void SaveToCompressedStream(Stream aData)
Parameters
Type |
Name |
Description |
System.IO.Stream |
aData |
|
|
Improve this Doc
SaveToStream(Stream)
Declaration
public void SaveToStream(Stream aData)
Parameters
Type |
Name |
Description |
System.IO.Stream |
aData |
|
|
Improve this Doc
Serialize(BinaryWriter)
Declaration
public virtual void Serialize(BinaryWriter aWriter)
Parameters
Type |
Name |
Description |
System.IO.BinaryWriter |
aWriter |
|
|
Improve this Doc
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
|
Improve this Doc
ToString(Boolean)
Declaration
public virtual string ToString(bool isRoot)
Parameters
Type |
Name |
Description |
System.Boolean |
isRoot |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
ToString(String)
Declaration
public virtual string ToString(string aPrefix)
Parameters
Type |
Name |
Description |
System.String |
aPrefix |
|
Returns
Type |
Description |
System.String |
|
Operators
|
Improve this Doc
Equality(JSONNode, Object)
Declaration
public static bool operator ==(JSONNode a, object b)
Parameters
Type |
Name |
Description |
JSONNode |
a |
|
System.Object |
b |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
Implicit(String to JSONNode)
Declaration
public static implicit operator JSONNode(string s)
Parameters
Type |
Name |
Description |
System.String |
s |
|
Returns
|
Improve this Doc
Implicit(JSONNode to String)
Declaration
public static implicit operator string (JSONNode d)
Parameters
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
Inequality(JSONNode, Object)
Declaration
public static bool operator !=(JSONNode a, object b)
Parameters
Type |
Name |
Description |
JSONNode |
a |
|
System.Object |
b |
|
Returns
Type |
Description |
System.Boolean |
|