C# Class fastJSON.JSON

Mostra file Open project: rogeralsing/linq-to-sqlxml Class Usage Examples

Public Properties

Property Type Description
Instance JSON

Public Methods

Method Description
ChangeType ( object value, Type conversionType ) : object
ToJSON ( object obj ) : string
ToObject ( string json ) : object

Protected Methods

Method Description
OnResolveType ( string typeName ) : Type
OnResolveTypeName ( Type type ) : string

Private Methods

Method Description
CreateDataset ( object>.Dictionary reader ) : DataSet
CreateDictionary ( ArrayList reader, Type pt ) : object
CreateGetMethod ( PropertyInfo propertyInfo ) : GenericGetter
CreateHashtable ( ArrayList reader ) : Hashtable
CreateSetMethod ( PropertyInfo propertyInfo ) : GenericSetter
GetGetters ( Type type ) : List
GetSetter ( PropertyInfo prop ) : GenericSetter
GetTypeFromCache ( string typename ) : Type
JSON ( ) : System
ParseDictionary ( object>.Dictionary d ) : object
getproperty ( Type type, string propertyname ) : PropertyInfo

Method Details

ChangeType() public method

public ChangeType ( object value, Type conversionType ) : object
value object
conversionType System.Type
return object

OnResolveType() protected method

protected OnResolveType ( string typeName ) : Type
typeName string
return System.Type

OnResolveTypeName() protected method

protected OnResolveTypeName ( Type type ) : string
type System.Type
return string

ToJSON() public method

public ToJSON ( object obj ) : string
obj object
return string

ToObject() public method

public ToObject ( string json ) : object
json string
return object

Property Details

Instance public_oe static_oe property

public static JSON,fastJSON Instance
return JSON