ParseFile( ) method Parses the JSON found from the specified file and returns a JsonConstruct object when the parse is complete. The returned value is either a JsonObject or a JsonArray. If the JSON syntax is incorrect, a JsonParserError is raised. Return type: Progress.Json.ObjectModel.JsonConstruct class Access: PUBLIC Applies to: Progress.Json.ObjectModel.ObjectModelParser class Syntax ParseFile( INPUT file-name AS CHARACTER ) file-name A CHARACTER expression naming a file system location containing the JSON string. You can specify an absolute path or a path relative to the current working directory. If the file does not exist or cannot be opened, an error is raised.
ParseFile( INPUT file-name AS CHARACTER )