JSONReader ToRow Method (Row, JSONDataMap, Boolean)NFX Class Library

[This is preliminary documentation and is subject to change.]

Converts JSONMap into supplied row instance. 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.JSON
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public static void ToRow(
	Row row,
	JSONDataMap jsonMap,
	bool fromUI = true
)

Parameters

row
Type: NFX.DataAccess.CRUD Row
Row instance to convert into
jsonMap
Type: NFX.Serialization.JSON JSONDataMap
JSON data to convert into row
fromUI (Optional)
Type: OnlineSystem Boolean
When true indicates that data came from UI, hence NonUI-marked fields should be skipped. True by default
See Also