diff --git a/docs/standard_containers.md b/docs/standard_containers.md index 8492ba22..0512cd59 100644 --- a/docs/standard_containers.md +++ b/docs/standard_containers.md @@ -54,19 +54,3 @@ All other supported standard containers (other than `std::variant`, `std::optional`, `std::unique_ptr` and `std::shared_ptr`) will be represented as arrays. Containers for which the `value_type` is a key-value-pair, will be represented as arrays of pairs. - -Consider the following map: - -```cpp -std::map children; -children[1] = Person{.first_name = "Bart", .last_name = "Simpson"}; -children[2] = Person{.first_name = "Lisa", .last_name = "Simpson"}; -children[3] = Person{.first_name = "Maggie", .last_name = "Simpson"}; -``` - -This will be represented as follows: - -```json -[[1,{"firstName":"Bart","lastName":"Simpson"}],[2,{"firstName":"Lisa","lastName":"Simpson"}],[3,{"firstName":"Maggie","lastName":"Simpson"}]] -``` -