mirror of
https://github.com/nlohmann/json.git
synced 2026-10-03 22:44:26 +07: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>