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

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
public static TranslationHelper LoadObjectFromJSON(
	BaseInfo obj,
	string json,
	bool disconnectObject = true,
	bool updateMode = false,
	List<string> excludedColumns = 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)
updateMode (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

Return Value

Type: TranslationHelper
Translation helper
See Also