Using variables
Variables can be used in the following functions. Please use it after familiarizing yourself with the contents below.
Objects and attributes
The API variable can have object as a value. An object is a set of attributes. The property of the object can again have numbers, letters, or nested objects as values.
If the variable 'result' is the following object, 'id' and 'name' are properties with letters and numbers as values, respectively.
{
"id": 456,
"name": "mandao"
}
Mandao does not assign all attributes to separate variables. Instead, it provides a way to access the attribute in the name of the variable.
- Method of approaching attribute 'id': 'result'.id`
- Method of approaching attribute 'name': 'Result'.name`
Mandao automatically recognizes the properties of variables and supports automatic completion.
Overlapping objects and attributes
Objects can be used overlapping without limitation.
Display the number of variables used
Variables in use display the number of uses. In the case of unused variables, nothing is displayed.