When converting a JavaScript value to a HashMap, an exception occurs if the value is not an object, if the keys or values cannot be converted to a CSPro number or string, or if these keys or values do not match the HashMap's types. An exception also occurs if too few, or too many, dimensions are provided.
For more information on the JavaScript serialization, look at the description of how HashMap objects are
serialized as JSON objects.