DocumentHierarchyHelperLoadObjectFromJSON Method |
Loads objects data including collection from a given JSON representation.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax public static TranslationHelper LoadObjectFromJSON(
TreeNode node,
string json,
bool disconnectObject = false,
bool updateOnlySpecifiedColumns = false,
List<string> excludedColumns = null,
string cultureName = 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) - updateOnlySpecifiedColumns (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 - cultureName (Optional)
- Type: SystemString
Culture name used for parsing values from JSON.
Return Value
Type:
TranslationHelperTranslation helper
See Also