Click or drag to resize

ZebraCardTemplateConvertDataDocumentToDataMap Method

Converts a JSON or XML formatted template data document into a Dictionary object.

Namespace:  Zebra.Sdk.Card.Job.Template
Assembly:  SdkApi_Card_Desktop (in SdkApi_Card_Desktop.dll) Version: 2.14.1989
Syntax
public Dictionary<string, string> ConvertDataDocumentToDataMap(
	string dataDocument
)

Parameters

dataDocument
Type: SystemString
JSON or XML formatted template data document.

Return Value

Type: DictionaryString, String
A Dictionary object containing the template field names as the keys and the template field values for the key values.

Implements

ZebraTemplateConvertDataDocumentToDataMap(String)
Exceptions
ExceptionCondition
IOExceptionIf an error occurs while parsing the dataDocument.
ZebraIllegalArgumentExceptionIf the dataDocument is invalid.
See Also