Skip to content

Commit

Permalink
Merge pull request #218 from Annihil/master
Browse files Browse the repository at this point in the history
Corrected readme
  • Loading branch information
nlohmann committed Mar 4, 2016
2 parents 53879f9 + 78a0203 commit 8ee3d24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ Likewise, any associative key-value containers (`std::map`, `std::multimap`, `st
```cpp
std::map<std::string, int> c_map { {"one", 1}, {"two", 2}, {"three", 3} };
json j_map(c_map);
// {"one": 1, "two": 2, "three": 3}
// {"one": 1, "three": 3, "two": 2 }
std::unordered_map<const char*, double> c_umap { {"one", 1.2}, {"two", 2.3}, {"three", 3.4} };
json j_umap(c_umap);
Expand Down

0 comments on commit 8ee3d24

Please sign in to comment.