diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-09-26 20:30:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-26 20:30:14 +0200 |
commit | 50423d8c729ee133035e3bb1e244bfbd1bdc0ef0 (patch) | |
tree | 4605bc80aed2d0f729047697b23e709ade2510e5 /src/convert_json.h | |
parent | f7e57a0d20879e1d1956e36d782a3ab98aa84e38 (diff) | |
download | hax-minetest-server-50423d8c729ee133035e3bb1e244bfbd1bdc0ef0.tar.gz hax-minetest-server-50423d8c729ee133035e3bb1e244bfbd1bdc0ef0.zip |
Update JsonCPP to 1.8.3 (#6466)
* Update JsonCPP to 1.8.3
* Fix deprecated functions
Json::FastWriter, Json::StyledWriter and Json::Reader are marked deprecated since 1.1 and are deprecated in 0.8 but not shown at compilation time.
Use new methods to serialize/deserialize
Diffstat (limited to 'src/convert_json.h')
-rw-r--r-- | src/convert_json.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/convert_json.h b/src/convert_json.h index d19e70851..d8825acdc 100644 --- a/src/convert_json.h +++ b/src/convert_json.h @@ -23,3 +23,5 @@ with this program; if not, write to the Free Software Foundation, Inc., Json::Value fetchJsonValue(const std::string &url, std::vector<std::string> *extra_headers); + +std::string fastWriteJson(const Json::Value &value); |