This update adds support for handling and accurately encoding/decoding unsigned integer elements in JSON, ensures compatibility with large values, replaces sprintf with the safer snprintf function, and extends the test suite to cover edge cases for integers, unsigned integers, and floating point numbers.
However, it does not address the suboptimal implementation where a single function handles both float and double types, which ideally need separate functions for better precision and clarity.
This update adds support for handling and accurately encoding/decoding unsigned integer elements in JSON, ensures compatibility with large values, replaces
sprintf
with the safersnprintf
function, and extends the test suite to cover edge cases for integers, unsigned integers, and floating point numbers. However, it does not address the suboptimal implementation where a single function handles both float and double types, which ideally need separate functions for better precision and clarity.