add dv::value support to json::stringify & add dv.cpp

This commit is contained in:
MihailRis
2024-09-16 21:36:35 +03:00
parent f05ed4942d
commit ceaa676a3a
5 changed files with 368 additions and 201 deletions
+5
View File
@@ -3,6 +3,7 @@
#include <string>
#include "data/dynamic.hpp"
#include "data/dv.hpp"
#include "typedefs.hpp"
#include "binary_json.hpp"
@@ -21,4 +22,8 @@ namespace json {
std::string stringify(
const dynamic::Value& value, bool nice, const std::string& indent
);
std::string stringifyDV(
const dv::value& value, bool nice, const std::string& indent=" "
);
}