Using {{ variable }} as Int variable
See original GitHub issueI can’t do that
"sender_id": {{ fbID }},
as it complains on an invalid json.
Doing this "sender_id": "{{ fbID }}",
fails the API, as now the number is a string.
Any solution for this ?
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
C# Variables - W3Schools
Variables are containers for storing data values. In C#, there are different types of variables (defined with different keywords), for example: int -...
Read more >Variables and types - CPlusPlus.com
These are two valid declarations of variables. The first one declares a variable of type int with the identifier a . The second...
Read more >Integer (Int Variable) in Python - OpenGenus IQ
Integer variables, or "int" variables, are variables that specifically store, as the name suggests, integers as its value. As such, all whole numbers...
Read more >How can I use a int inside a variable name? - Stack Overflow
1-This code is getting the class named "MyClass". new MyClass().getClass() · 2-Accessing the field with the same name as the string that I ......
Read more >Variables -- declaring and assigning values
int Most commonly used form of integer variable, 32 bits. May hold any value in the range -2147483648 to 2147483647. long Used if...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The most recent version of Artillery will now preserve the type of the variable rendered by a template if that’s the only operation in that template, so in the something like the following:
If id = 42, the resulting JSON payload sent to the target will be:
@tiffanywilson Mind opening another issue about the custom JS stuff? very curious
that’s a great solution @jordandlaman, we’ll prioritize getting this sorted properly without needing to resort to writing custom JS