1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-31 10:24:23 +03:00

Enhace to_cbor() to support +/-Infinity, NaN, and single-precision float

This commit is contained in:
chenguoping
2020-05-13 20:29:10 +08:00
parent a414e35971
commit 44fe284f9d
3 changed files with 58 additions and 6 deletions

View File

@ -7059,7 +7059,7 @@ class basic_json
- break (0xFF)
@param[in] j JSON value to serialize
@return MessagePack serialization as byte vector
@return CBOR serialization as byte vector
@complexity Linear in the size of the JSON value @a j.