Jump to content

Component: Object Helper ( Data)

From Flowcode Help
Revision as of 14:10, 27 November 2023 by Wiki bot (talk | contribs) (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;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Author MatrixTSL
Version 0.1
Category Data


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

No additional examples

Macro reference

GetValue

GetValue
Gets the value for a key in a JavaScript object 
- HANDLE Object
The JavaScript object 
- STRING sKey
The key name 
- HANDLE Return


JSONToObject

JSONToObject
Converts a JSON string to a JavaScript object 
- STRING Text
The JSON string to convert to a JavaScript object 
- HANDLE Return


NumberToObject

NumberToObject
Converts a number to a JavaScript object 
- LONG Var
The number to convert to a JavaSctipt object 
- HANDLE Return


ObjectToJSON

ObjectToJSON
Converts an object to a JSON string 
- HANDLE Object
The JavaScript object 
- STRING Return


ObjectToNumber

ObjectToNumber
Converts an object to a number 
- HANDLE Object
The JavaScript object 
- LONG Return


ObjectToString

ObjectToString
Converts an object to a string 
- HANDLE Object
The JavaScript object 
- STRING Return


SetValue

SetValue
Sets the value of a key in a JavaScript object. Returns true if the key already exists. 
- HANDLE Object
The JavaScript object 
- STRING sKey
The key name 
- HANDLE Value
The value for the key 
- BOOL Return


StringToObject

StringToObject
Converts a string to a JavaScript object 
- STRING Var
The string to convert to a JavaScript object 
- HANDLE Return


Property reference

Properties