diff --git a/README.md b/README.md index 9f39674c..be86ef30 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ Library | Language | Version | Notes [SimpleJSON](https://github.com/MJPA/SimpleJSON) | C++ | [sheredom/json.h](https://github.com/sheredom/json.h) | C | | Not parsing number per se, so do it as post-process. udp/json | C | 1.1.0 | Actually 2 libraries: [udp/json-parser](https://github.com/udp/json-parser) & [udp/json-builder](https://github.com/udp/json-builder). -[taocpp/json](https://github.com/taocpp/json) | C++11 | 1.0.0-beta.2 | Uses [PEGTL](https://github.com/ColinH/PEGTL) for parsing +[taocpp/json](https://github.com/taocpp/json) | C++11 | 1.0.0-beta.3 | Uses [PEGTL](https://github.com/ColinH/PEGTL) for parsing [tunnuz/JSON++](https://github.com/tunnuz/json) | C++ | [ujson](https://bitbucket.org/awangk/ujson/) | C++ | 2015-04-12 | [ujson4c](https://github.com/esnme/ujson4c) | C | diff --git a/src/tests/taocppjson.cpp b/src/tests/taocppjson.cpp index 1173a38b..7bf0adf8 100644 --- a/src/tests/taocppjson.cpp +++ b/src/tests/taocppjson.cpp @@ -115,7 +115,7 @@ class TAOCPPJSONTest : public TestBase { virtual bool ParseDouble(const char* j, double* d) const { try { auto root = tao::json::from_string(j); - *d = root.at(0).get_double(); + *d = root[0].get_double(); return true; } catch (...) { @@ -126,7 +126,7 @@ class TAOCPPJSONTest : public TestBase { virtual bool ParseString(const char* j, std::string& s) const { try { auto root = tao::json::from_string(j); - s = root.at(0).get_string(); + s = root[0].get_string(); return true; } catch (...) { diff --git a/thirdparty/taocppjson b/thirdparty/taocppjson index 0d4e59ca..d380c63b 160000 --- a/thirdparty/taocppjson +++ b/thirdparty/taocppjson @@ -1 +1 @@ -Subproject commit 0d4e59ca5aa5841dc42f3b93cbcf65f7785bcf74 +Subproject commit d380c63be15b0c14344d48ed4b13132dd41c3c6e