Sorry, your browser does not support JavaScript or JavaScript is disabled. Please enable JavaScript or use another browser to have a better experience.
Given a valid JSON string, parse it and return an object of datatype %DynamicAbstractObjectOpens in a new tab containing the parsed JSON. If an error occurs during parsing, an exception will be thrown. See “Converting Dynamic Entities to and from JSON” for details and examples.
classmethod %FromJSON(str) as %DynamicAbstractObject
parameters:
str — The input can be from any one of the following sources:
string value containing the source. The value can be an empty string (""), but an error will be thrown if the string contains only white space characters.
stream object to read the source from. An error will be thrown if the stream does not contain any characters.
see also: %FromJSONFile(), %ToJSON(), Serializing Large Dynamic Entities to Streams
class reference: %DynamicAbstractObject.%FromJSON()Opens in a new tab