RetailCommonWebAPI::getMapFromJsonString Method [AX 2012]

Decodes JSON-encoded object tree represented as a string

Syntax

client server public static Map getMapFromJsonString(str _jsonString)

Run On

Called

Parameters

  • _jsonString
    Type: str
    JSON-encoded object tree represented as a string

Return Value

Type: Map Class
Returns the object tree recreated from JSON-encoded object tree represented as a string

Remarks

The object tree returned has the following structure: key - represents the name of the object value - is always a container containing one of the following: a) a string, when the object value is a plain string b) a List of object trees, when the object is an array c) an object tree, when the object value is a complex data structure

See Also

Reference

RetailCommonWebAPI Class