DocumentHierarchyHelperLoadObjectFromJSON Method |
Loads objects data including collection from a given XML representation.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax public static TranslationHelper LoadObjectFromJSON(
TreeNode node,
string json,
bool disconnectObject = false,
bool updateMode = false,
List<string> excludedColumns = null
)
Parameters
- node
- Type: CMS.DocumentEngineTreeNode
TreeNode 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 data 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:
TranslationHelperTranslation helper
See Also