mirror of
https://github.com/nlohmann/json.git
synced 2026-10-10 08:27:13 +00:00
auto v = json_document::parse(text).root() compiled and left the view dangling. Delete the overload for rvalue documents, take a named document in the tests, and document the lifetime rule. Signed-off-by: Niels Lohmann <mail@nlohmann.me>