diff options
author | Rye Mutt <rye@alchemyviewer.org> | 2024-04-05 19:03:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-06 02:03:58 +0300 |
commit | 17e1f3692c5c1e9cbc6ba6895b312a8baae9aec2 (patch) | |
tree | 4e9bc0aa51758539dee0f01e53e8909ad71b7b09 /indra/llcommon/llsdjson.h | |
parent | 7dbdfda7d6fc94eda07dd8376fd47260dfd73964 (diff) |
Port from JsonCPP to Boost.Json for json parsing and serializing (#1054)
Diffstat (limited to 'indra/llcommon/llsdjson.h')
-rw-r--r-- | indra/llcommon/llsdjson.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llcommon/llsdjson.h b/indra/llcommon/llsdjson.h index e56cf03b45..7173e26046 100644 --- a/indra/llcommon/llsdjson.h +++ b/indra/llcommon/llsdjson.h @@ -34,7 +34,7 @@ #include "stdtypes.h" #include "llsd.h" -#include "json/value.h" +#include <boost/json.hpp> /// Convert a parsed JSON structure into LLSD maintaining member names and /// array indexes. @@ -53,7 +53,7 @@ /// /// For maps and arrays child entries will be converted and added to the structure. /// Order is preserved for an array but not for objects. -LLSD LlsdFromJson(const Json::Value &val); +LLSD LlsdFromJson(const boost::json::value &val); /// Convert an LLSD object into Parsed JSON object maintaining member names and /// array indexs. @@ -72,6 +72,6 @@ LLSD LlsdFromJson(const Json::Value &val); /// TypeMap | object /// TypeArray | array /// TypeBinary | unsupported -Json::Value LlsdToJson(const LLSD &val); +boost::json::value LlsdToJson(const LLSD &val); #endif // LL_LLSDJSON_H |