When you use long double as a floating point type with the current version of this file and try to dump json it prints trash instead of actual number. This if-else fixes the problem. On using long double you just need to add an 'L' modifier before 'g' in format string. |
||
|---|---|---|
| .. | ||
| detail | ||
| thirdparty/hedley | ||
| adl_serializer.hpp | ||
| byte_container_with_subtype.hpp | ||
| json_fwd.hpp | ||
| json.hpp | ||
| ordered_map.hpp | ||