Class JsonSerialize
Inheritance
System.Object
JsonSerialize
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: CADability.dll
Syntax
public class JsonSerialize : IJsonWriteData
Constructors
|
Improve this Doc
View Source
JsonSerialize()
Declaration
Methods
|
Improve this Doc
View Source
FromStream(Stream)
Declaration
public object FromStream(Stream stream)
Parameters
| Type |
Name |
Description |
| System.IO.Stream |
stream |
|
Returns
| Type |
Description |
| System.Object |
|
|
Improve this Doc
View Source
FromString(String)
Declaration
public static object FromString(string ser)
Parameters
| Type |
Name |
Description |
| System.String |
ser |
|
Returns
| Type |
Description |
| System.Object |
|
|
Improve this Doc
View Source
ToStream(Stream, Object, Boolean)
Declaration
public bool ToStream(Stream stream, object toSerialize, bool closeStream = true)
Parameters
| Type |
Name |
Description |
| System.IO.Stream |
stream |
|
| System.Object |
toSerialize |
|
| System.Boolean |
closeStream |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
ToString(Object)
Declaration
public static string ToString(object ser)
Parameters
| Type |
Name |
Description |
| System.Object |
ser |
|
Returns
| Type |
Description |
| System.String |
|
Explicit Interface Implementations
|
Improve this Doc
View Source
IJsonWriteData.AddHashTable(String, Hashtable)
Declaration
void IJsonWriteData.AddHashTable(string name, Hashtable ht)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| System.Collections.Hashtable |
ht |
|
|
Improve this Doc
View Source
IJsonWriteData.AddProperty(String, Object)
Declaration
void IJsonWriteData.AddProperty(string name, object value)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| System.Object |
value |
|
|
Improve this Doc
View Source
IJsonWriteData.AddValue(Object)
Declaration
void IJsonWriteData.AddValue(object value)
Parameters
| Type |
Name |
Description |
| System.Object |
value |
|
|
Improve this Doc
View Source
IJsonWriteData.AddValues(Object[])
Declaration
void IJsonWriteData.AddValues(params object[] value)
Parameters
| Type |
Name |
Description |
| System.Object[] |
value |
|
Implements