Is there an existing issue for this?
SDK Version
4.4.0
Current Behavior
When using JSON variables with GsonConfigParser, integers within JSON variables appear as doubles to outside consumers. The Map output then can't be returned to valid JSON for use with downstream JSON parsing tools, like kotlinx.serialization.
Expected Behavior
Integer-looking JSON values are deserialized to longs, while decimal-looking JSON values are deserialized to doubles.
Steps To Reproduce
See associated pull request.
Java Version
21
Link
No response
Logs
No response
Severity
Minor issue
Workaround/Solution
Re-interpret doubles as integers where needed.
Recent Change
No response
Conflicts
No response
Is there an existing issue for this?
SDK Version
4.4.0
Current Behavior
When using JSON variables with
GsonConfigParser, integers within JSON variables appear as doubles to outside consumers. TheMapoutput then can't be returned to valid JSON for use with downstream JSON parsing tools, like kotlinx.serialization.Expected Behavior
Integer-looking JSON values are deserialized to longs, while decimal-looking JSON values are deserialized to doubles.
Steps To Reproduce
See associated pull request.
Java Version
21
Link
No response
Logs
No response
Severity
Minor issue
Workaround/Solution
Re-interpret doubles as integers where needed.
Recent Change
No response
Conflicts
No response