Click or drag to resize
HierarchyHelperLoadObjectFromJSON Method
Loads objects data including collection from a given JSON representation.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public static TranslationHelper LoadObjectFromJSON(
	BaseInfo obj,
	string json,
	bool disconnectObject = true,
	bool updateOnlySpecifiedColumns = false,
	List<string> excludedColumns = null,
	string cultureName = null
)

Parameters

obj
Type: CMS.DataEngineBaseInfo
Object to load
json
Type: SystemString
JSON data
disconnectObject (Optional)
Type: SystemBoolean
If true, object collections are disconnected (collections won't load data automatically from the DB, just from dataset)
updateOnlySpecifiedColumns (Optional)
Type: SystemBoolean
If true, only column contained in the json are loaded (columns which are not contained are not set to null)
excludedColumns (Optional)
Type: System.Collections.GenericListString
Columns which will be ignored during the data load even if they are in the provided data
cultureName (Optional)
Type: SystemString
Name of culture used for parsing values from JSON.

Return Value

Type: TranslationHelper
Translation helper
See Also