mirror of
https://github.com/nlohmann/json.git
synced 2026-10-21 05:28:12 +00:00
deploy: 4da932f518
This commit is contained in:
1 parent
53e1ee907f
commit
be4d0a6f4b
311 files changed
+1273
-579
No files matched your search
@@ -58,6 +58,10 @@ ABI compatibility
|
||||
|
||||
The value of this macro is encoded in the [namespace](https://json.nlohmann.me/features/namespace/index.md) (tag `_psp`), resulting in distinct symbol names. Translation units compiled with and without it can therefore be linked into the same program without One Definition Rule (ODR) violations, but they cannot exchange instances of library types.
|
||||
|
||||
Bulk scanning
|
||||
|
||||
The parser scans the characters in the stream buffer in bulk (see [`JSON_DISABLE_STREAM_BULK_SCAN`](https://json.nlohmann.me/api/macros/json_disable_stream_bulk_scan/index.md)), but it never reads ahead. The stream is left at the same position with and without bulk scanning, in both modes of this macro.
|
||||
|
||||
Workaround without the macro
|
||||
|
||||
Separate the values in the stream with whitespace. The character consumed after a number is then the separator, and whitespace before the next value is skipped anyway.
|
||||
|
||||
Reference in new issue
Block a user