💥 change serialization of binary values
This commit is contained in:
parent
9eb19bcc27
commit
b7ff40029a
6 changed files with 273 additions and 116 deletions
|
|
@ -1582,7 +1582,7 @@ TEST_CASE("CBOR")
|
|||
auto j = json::from_cbor(input);
|
||||
CHECK(j.is_binary());
|
||||
auto k = json::binary_array({0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff, 0x99});
|
||||
CAPTURE(j.dump(0, ' ', false, json::error_handler_t::strict, true))
|
||||
CAPTURE(j.dump(0, ' ', false, json::error_handler_t::strict))
|
||||
CHECK(j == k);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue