Difference between revisions of "Component: Object Helper ( Data)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | MatrixTSL |- | width="20%" style="color:gray;" | Version | 0.1 |- | width="20%" style="color:gray;...") |
|||
Line 27: | Line 27: | ||
==Examples== | ==Examples== | ||
− | + | ===Weather Example=== | |
+ | |||
+ | Example program showcasing a number of components used together to collect data from a URL using fetch, before processing the data using the object helper and array helper components. | ||
+ | |||
+ | {{Fcfile|Web_Weather.fcsx|Web Weather Example}} | ||
==Macro reference== | ==Macro reference== |
Revision as of 10:56, 28 November 2023
Author | MatrixTSL |
Version | 0.1 |
Category | Data |
Contents
Object Helper component
Component to help when dealing with Javascript objects.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_WEBEXP_Object.fcsx
Please click here to view the component source code (Beta): FC_Comp_Source_WEBEXP_Object.fcsx
Detailed description
No detailed description exists yet for this component
Examples
Weather Example
Example program showcasing a number of components used together to collect data from a URL using fetch, before processing the data using the object helper and array helper components.
Macro reference
GetValue
![]() |
GetValue |
Gets the value for a key in a JavaScript object | |
![]() |
Object |
The JavaScript object | |
![]() |
sKey |
The key name | |
![]() |
Return |
JSONToObject
![]() |
JSONToObject |
Converts a JSON string to a JavaScript object | |
![]() |
Text |
The JSON string to convert to a JavaScript object | |
![]() |
Return |
NumberToObject
![]() |
NumberToObject |
Converts a number to a JavaScript object | |
![]() |
Var |
The number to convert to a JavaSctipt object | |
![]() |
Return |
ObjectToJSON
![]() |
ObjectToJSON |
Converts an object to a JSON string | |
![]() |
Object |
The JavaScript object | |
![]() |
Return |
ObjectToNumber
![]() |
ObjectToNumber |
Converts an object to a number | |
![]() |
Object |
The JavaScript object | |
![]() |
Return |
ObjectToString
![]() |
ObjectToString |
Converts an object to a string | |
![]() |
Object |
The JavaScript object | |
![]() |
Return |
SetValue
StringToObject
![]() |
StringToObject |
Converts a string to a JavaScript object | |
![]() |
Var |
The string to convert to a JavaScript object | |
![]() |
Return |
Property reference
![]() |
Properties |