[This is preliminary documentation and is subject to change.]
Converts JSONMap into typed row of the requested type.
The requested type must be derived from NFX.DataAccess.CRUD.TypedRow.
The extra data found in JSON map will be placed in AmorphousData dictionary if the row implemets IAmorphousData, discarded otherwise.
Note: This method provides "the best match" and does not guarantee that all data will/can be converted from JSON, i.e.
it can only convert one dimensional arrays and Lists of either primitive or TypeRow-derived entries
Namespace: NFX.Serialization.JSONAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax
Parameters
- type
- Type:
System Type
TypedRow subtype to convert into
- jsonMap
- Type: NFX.Serialization.JSON JSONDataMap
JSON data to convert into row
- fromUI (Optional)
- Type:
System Boolean
When true indicates that data came from UI, hence NonUI-marked fields should be skipped. True by default
Return Value
Type: TypedRowSee Also