add JsonDiffApply, JsonMinify, JsonPrettify, JsonFlatten, JsonUnflatten

This commit is contained in:
Lion Kortlepel
2022-03-03 12:25:06 +01:00
parent 7d97c3b560
commit ca3314b416
3 changed files with 56 additions and 0 deletions

View File

@@ -24,6 +24,11 @@ namespace MP {
void PrintRaw(sol::variadic_args);
std::string JsonEncode(const sol::table& object);
std::string JsonDiff(const std::string& a, const std::string& b);
std::string JsonDiffApply(const std::string& data, const std::string& patch);
std::string JsonPrettify(const std::string& json);
std::string JsonMinify(const std::string& json);
std::string JsonFlatten(const std::string& json);
std::string JsonUnflatten(const std::string& json);
}
namespace FS {