- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2022 09:23 PM
I want to send an integer in JSON but payload builder turns it into a string. In the action input it is specified as an integer.
Solved! Go to Solution.
- Labels:
-
flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2022 06:31 PM
Hi
unfortunately you have to take the Payload Builder as it is and in most of the cases it doesn't matter as JavaScript is not a type-safe language like Java or C++. That means under the hood, the data in variables is permanently converted to other data types.
But I would like to know what concerns do you have with it? Does the consumer have any issues with the stringified version of the number?
Kind regards
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2022 11:02 PM
Glad to help you!