mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
add dv::value support to json::stringify & add dv.cpp
This commit is contained in:
parent
f05ed4942d
commit
ceaa676a3a
5 changed files with 368 additions and 201 deletions
|
|
@ -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=" "
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue