Component: XML JSON Parser (Runtime Tools)
From Flowcode Help
Jump to navigationJump to search| Author | MatrixTSL |
| Version | 1.0 |
| Category | Runtime Tools |
Contents
XML JSON Parser component
A component designed to simplify the collection of data from XML and JSON sources. Parses the raw data and creates a dynamic representation of the data that is easy to navigate and interrogate. Also allows the objects to be manually created or edited and then re-exported as XML or JSON format.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_XMLParser.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_XMLParser.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
| SetObjectString | |
| Sets the data string of an existing object. | |
| Object | |
| Handle to the object | |
| Data | |
| Return | |
| GetRootHandle | |
| Allows for user to step through the objects manually using the inbuilt runtime api calls. | |
| Return | |
| FindObject | |
| Finds the first instance of an object. Returns the first matching path from the root. Returns 0 if the path was not found. | |
| ObjPath | |
| e.g. "rss.channel.title" | |
| Return | |
| FindObjectString | |
| Searches for and then collects the data string from the specified path. Returns the first matching path from the root. | |
| ObjPath | |
| e.g. "rss.channel.title" | |
| Return | |
| GetObjectString | |
| Collects the data string from the specified object. | |
| Object | |
| Handle to the object | |
| Return | |
| ClearObjects | |
| Deletes all object data ready for fresh input | |
| Return | |
| GetObjectTag | |
| Collects the tag string from the specified object. | |
| Object | |
| Handle to the object | |
| Return | |
| BuildXMLString | |
| Generate a XML string based on the current objects inside the component. | |
| Return | |
| DeleteObject | |
| Deletes a selected tag object. | |
| Object | |
| Handle to the object | |
| Return | |
| FindNextObjectString | |
| Searches for and then collects the data string from the specified path. Returns the first matching path from the last search | |
| SubObjPath | |
| e.g. "item.title" | |
| Return | |
| BuildJSONString | |
| Generate a JSON string based on the current objects inside the component. | |
| Return | |
| SetObjectTag | |
| Sets the tag name of an existing object. | |
| Object | |
| Handle to the object | |
| Tag | |
| Return | |
Property reference
| Properties |