You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thank you, I see now. I'm glad you gave me a reply.
Maybe, I need to use default value for special float variable when it read "null" value.
Avoiding this special float value to serialize to file or reading "null" float value from json file.
Thank you again for writing the JSON library, which is very concise and convenient.
Although boost.json library has come out, but I still think your json library is better.
Description
when use PCL library, I need write some data to json.
my code is some like:
I found that the "test.json" file data:
Reproduction steps
I just want to serialize some special float value, such as "nan", "inf", "-inf"
but it throws exception wiht tips "type must be number, but is null"
Expected vs. actual results
when I write "nan", "inf" as float value, but it got "null"
Minimal code example
Error messages
type must be number, but is null
Compiler and operating system
visual studio 2019
Library version
3.10.4
Validation
develop
branch is used.The text was updated successfully, but these errors were encountered: