The Rosetta Stone of the Koinos ecosystem. Allows for the interpretation of Koinos data structures in a multitude of languages. Useful in the development of microservices, clients, and smart contracts.
MIT License
12
stars
3
forks
source link
Ensure C++ JSON deserializer handles out-of-range integer values #88
If we try to deserialize a string like "9999999999999999999999" as a uint32_t it should fail. We need to check all integer types throw errors for out-of-range input (including negative input and input that only exceeds the range by 1).
If we try to deserialize a string like
"9999999999999999999999"
as auint32_t
it should fail. We need to check all integer types throw errors for out-of-range input (including negative input and input that only exceeds the range by 1).