Access/VBA Library

Parse Method

Parses a JSON string and converts it to an VBA datastructure The parser parsers JSON string which follow the JSON-definitions on http://www.json.org When the JSON string is an object a Dictionary will be returned, otherwise a Collection .

See also: http://www.json.org

Syntax

JSONParser.Parse()
Parameters
Name Type Description
JSONParser   The name of an object of type JSONParser
JSONParsertag:JSONParserCollectiontag:CollectionDictionarytag:Dictionary

Remarks

  • When an error occurs the value Nothing is returned. Check in this case the value of ErrorPosition and LastError to determine the location and kind of the error.