HierarchyHelper LoadObjectFromJSON Method Kentico 8.0 API Reference
Loads objects data including collection from a given XML representation.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

obj
Type: CMS.DataEngine BaseInfo
Object to load
json
Type: OnlineSystem String
JSON data
disconnectObject (Optional)
Type: OnlineSystem Boolean
If true, object collections are disconnected (collections won't load data automatically from the DB, just from dataset)
updateMode (Optional)
Type: OnlineSystem Boolean
If true, only column contained in the JSON are loaded (columns which are not contained are not set to null)
excludedColumns (Optional)
Type: OnlineSystem.Collections.Generic List OnlineString 
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