Class JSONMappings
Facilitates mapping of CRUD/CLR types/values to JSON and back to CLR/CRUD
Inheritance
System.Object
    JSONMappings
  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()
    
  Namespace: Azos.Data
Assembly: Azos.dll
Syntax
public static class JSONMappings
  Fields
JTP_ARRAY
Declaration
public const string JTP_ARRAY = "array"
  Field Value
| Type | Description | 
|---|---|
| System.String | 
JTP_MAP
Declaration
public const string JTP_MAP = "map"
  Field Value
| Type | Description | 
|---|---|
| System.String | 
JTP_OBJECT
Declaration
public const string JTP_OBJECT = "object"
  Field Value
| Type | Description | 
|---|---|
| System.String | 
JTP_STRING
Declaration
public const string JTP_STRING = "string"
  Field Value
| Type | Description | 
|---|---|
| System.String | 
Methods
MapCLRTypeToJSON(Type, out Boolean)
Declaration
public static string MapCLRTypeToJSON(Type type, out bool isNullable)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Type | type | |
| System.Boolean | isNullable | 
Returns
| Type | Description | 
|---|---|
| System.String | 
MapJSONTypeToCLR(String, Boolean)
Declaration
public static Type MapJSONTypeToCLR(string type, bool isNullable)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | type | |
| System.Boolean | isNullable | 
Returns
| Type | Description | 
|---|---|
| System.Type |