Component: JSON Decoder ( Comms)
From Flowcode Help
Jump to navigationJump to search| Author | |
| Version | 0.1 |
| Category | Comms |
Contents
JSON Decoder component
Allows dynamic key and value pairs to be collected from a formatted JSON string.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_WEBEXP_JSONDecoder.fcsx
Please click here to view the component source code (Beta): FC_Comp_Source_WEBEXP_JSONDecoder.fcsx
Detailed description
No detailed description exists yet for this component
Examples
Simple Data
Example program showing how to use a JSON decoder component to parse a simple JSON encoded data string.
Web JSON Decoder Example
Macro reference
FindName
ParseJSON
ReadDataAsFloat
| ReadDataAsFloat | |
| Reads the data of a specific element as a floating point value | |
| Element | |
| Index of the element to read | |
| Return | |
ReadDataAsNumber
| ReadDataAsNumber | |
| Reads the data of a specific element as a numeric value | |
| Element | |
| Index of the element to read | |
| Return | |
ReadDataAsString
| ReadDataAsString | |
| Reads the data of a specific element as a string value | |
| Element | |
| Index of the element to read | |
| Return | |
ReadName
| ReadName | |
| Reads the name of a specific element | |
| Element | |
| The Index of the element to read | |
| Return | |
Property reference
| Properties | |
| JSON Reviver macro | |
| Allows an easy way for you to parse incoming JSON data element by element. | |