create .NET clr object from json
Deserializer
01 Syntax
Microsoft.VisualBasic.MIME.application.json.Deserializer
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| CreateObject | 3 | |
| CreateObject | 1 | Cast the json element data as specific clr type object |
03 Members
进行反序列化
Parameters
| Name | Type | Description |
|---|---|---|
json | JsonElement | - |
schema | Type | add know types for object by using the |
反序列化为目标类型的对象实例
Parameters
| Name | Type | Description |
|---|---|---|
json | JsonObject | - |
schema | SoapGraph | - |
CreateObject``1(JsonElement,
Boolean)Cast the json element data as specific clr type object
Type Parameters
| Name | Description |
|---|---|
T | add know types for object by using the |
Parameters
| Name | Type | Description |
|---|---|---|
json | JsonElement | - |
decodeMetachar | Boolean | - |
Returns
this function will returns nothing if the input json element is nothing
CreateObject(JsonElement,
Boolean)