From c0ef77a94130cf8112432b5722d2e3ed69abf4f1 Mon Sep 17 00:00:00 2001 From: Niels Date: Sat, 11 Apr 2015 19:21:55 +0200 Subject: [PATCH] Updated nlohmann::basicjson::get (markdown) --- nlohmann::basicjson::get.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nlohmann::basicjson::get.md b/nlohmann::basicjson::get.md index 22c65bc..4df42fb 100644 --- a/nlohmann::basicjson::get.md +++ b/nlohmann::basicjson::get.md @@ -24,6 +24,8 @@ The return value is the JSON container's value casted to the return value type ` | object | `object_t`, any associative container whose `key_type` convertible from `string_t` and whose `mapped_type ` is convertible from `basic_json` | | array | `array_t`, any sequence container whose `value_type` is convertible from `basic_json`; furthermore, `std::set` and `std::unordered_set` with the same constraints are allowed | +Note that in case of objects and arrays, all values must be compatible. + ## Complexity Amortized linear in the size of the JSON type.