Blender V4.3
serialize.cc File Reference
#include "BLI_fileops.hh"
#include "BLI_serialize.hh"
#include "json.hpp"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::io
 
namespace  blender::io::serialize
 

Functions

static void blender::io::serialize::convert_to_json (nlohmann::ordered_json &j, const Value &value)
 
static void blender::io::serialize::convert_to_json (nlohmann::ordered_json &j, const ArrayValue &value)
 
static void blender::io::serialize::convert_to_json (nlohmann::ordered_json &j, const DictionaryValue &value)
 
static std::unique_ptr< Valueblender::io::serialize::convert_from_json (const nlohmann::ordered_json &j)
 
static std::unique_ptr< ArrayValueblender::io::serialize::convert_from_json_to_array (const nlohmann::ordered_json &j)
 
static std::unique_ptr< DictionaryValueblender::io::serialize::convert_from_json_to_object (const nlohmann::ordered_json &j)
 
void blender::io::serialize::write_json_file (StringRef path, const Value &value)
 
std::shared_ptr< Valueblender::io::serialize::read_json_file (StringRef path)