-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
Expected Behavior
Transaction Json objects serialize correctly on all platforms.
Current Behavior
Transaction Json objects serialize correctly on all platforms except Ubuntu 18.0.4 using the Arduino IDE as reported by Slack user Asmita.
Specifically, numbers are being serialized as string objects.
Possible Solution
A potential solution is to enforce type serialization by declaring int/uint64_t variables. Use of stoull and stoi may also be required per user Asmita.
Steps to Reproduce (for bugs)
- Use the Arduino IDE on Ubuntu 18.0.4.
- Use the C++ SDK to create a
transactionobject. - Use the
.toJson()method to view the output.
Numbers will be serialized as strings.
Context
I’m currently on vacation, but will investigate a fix as soon as I’m back.
Your Environment
- Version used: All versions.
- Environment name and version (e.g. node.js v10.15.3): Arduino IDE.
- Server type and version: UNKNOWN / N/A
- Operating System and version: Ubuntu 18.0.4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels