Alex Prabhat Bara
69a0c1b82c
Avoid allocating temporary basic_json for cbor and msgpack object keys ( #5328 )
...
* avoid allocating temporary basic_json for CBOR and MessagePack object keys
Signed-off-by: alexprabhat99 <alexpbara@gmail.com >
* add size() to the custom object key test type
UBJSON and BJData access object keys through size() and c_str()
directly, so the key type now provides both and the comment says why.
Signed-off-by: alexprabhat99 <alexpbara@gmail.com >
* address review: drop key size()/c_str(), test keys below the depth limit
Nothing in the library calls size() or c_str() on an object key, so the
test key type only keeps data(), which JSON_DIAGNOSTICS needs.
The CBOR and MessagePack custom key tests now also nest objects deeper
than detail::recursion_depth_limit(), so keys written by
write_cbor_iterative and write_msgpack_iterative are covered as well.
Signed-off-by: alexprabhat99 <alexpbara@gmail.com >
---------
Signed-off-by: alexprabhat99 <alexpbara@gmail.com >
2026-10-09 13:22:07 +02:00
..
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-07-04 11:13:25 +02:00
2026-10-04 12:00:31 +02:00
2026-10-04 11:46:32 +02:00
2025-04-05 18:54:35 +02:00
2026-10-04 11:46:52 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-07 07:38:24 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-04 11:46:32 +02:00
2026-10-04 11:46:32 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-04 18:20:20 +02:00
2026-10-04 12:13:49 +02:00
2026-10-02 11:32:15 +02:00
2026-10-04 11:46:25 +02:00
2026-10-02 11:32:15 +02:00
2025-01-17 06:53:35 +01:00
2026-10-02 11:32:15 +02:00
2026-10-04 11:46:32 +02:00
2026-10-04 12:13:49 +02:00
2024-12-09 23:02:30 +01:00
2026-10-04 11:46:32 +02:00
2026-10-02 11:32:15 +02:00
2026-07-09 17:24:19 +02:00
2026-10-04 22:11:34 +02:00
2026-10-04 22:11:34 +02:00
2026-10-04 12:13:49 +02:00
2026-10-04 12:13:49 +02:00
2026-10-04 12:13:49 +02:00
2026-10-04 12:13:49 +02:00
2025-04-05 18:54:35 +02:00
2026-10-02 11:32:15 +02:00
2026-06-29 22:15:18 +02:00
2024-12-09 23:02:30 +01:00
2024-12-06 18:38:25 +01:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-06 22:33:29 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-06-29 22:15:18 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2025-04-05 18:54:35 +02:00
2025-04-05 18:54:35 +02:00
2025-04-05 18:54:35 +02:00
2026-06-29 22:15:18 +02:00
2026-10-02 11:32:15 +02:00
2025-04-05 18:54:35 +02:00
2026-10-02 11:32:15 +02:00
2025-04-05 18:54:35 +02:00
2026-10-02 11:32:15 +02:00
2026-10-04 12:00:31 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-04 11:57:41 +02:00
2026-10-04 17:53:29 +02:00
2026-10-04 17:53:29 +02:00
2026-10-04 17:53:29 +02:00
2026-10-02 11:32:15 +02:00
2026-10-09 13:22:07 +02:00
2026-07-04 11:13:25 +02:00
2026-10-02 17:25:17 +02:00
2026-10-02 17:25:17 +02:00
2026-10-02 17:25:17 +02:00
2026-10-02 17:25:17 +02:00
2026-10-02 17:25:17 +02:00
2026-10-02 17:25:17 +02:00
2026-10-02 17:25:17 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-04 11:46:18 +02:00
2026-10-02 11:32:15 +02:00
2026-06-29 22:15:18 +02:00
2026-06-29 22:15:18 +02:00
2026-06-29 22:15:18 +02:00
2026-09-30 22:15:20 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-07 07:38:24 +02:00
2026-10-02 11:32:15 +02:00
2025-01-17 06:53:35 +01:00
2026-07-09 17:24:19 +02:00
2026-10-07 19:18:51 +02:00
2026-06-29 22:15:18 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-06 07:33:34 +02:00
2026-10-02 11:32:15 +02:00
2026-10-06 07:33:34 +02:00
2026-10-06 07:33:34 +02:00
2026-10-06 07:33:34 +02:00
2026-10-02 11:32:15 +02:00
2026-10-06 07:33:34 +02:00
2026-06-29 22:15:18 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-02 11:32:15 +02:00
2026-10-04 11:46:32 +02:00
2026-10-06 22:33:29 +02:00