mirror of
https://github.com/nlohmann/json.git
synced 2026-10-01 14:35:18 +00:00
json_document::read is a member function, not POSIX read(), and the C string overload requires null-terminated input like json::parse. Signed-off-by: Niels Lohmann <mail@nlohmann.me>