Odil
A C++11 library for the DICOM standard
Namespaces | Functions
json_converter.h File Reference
#include <json/json.h>
#include "odil/DataSet.h"
#include "odil/odil.h"
#include "odil/Value.h"
Include dependency graph for json_converter.h:

Go to the source code of this file.

Namespaces

namespace  odil
 

Functions

Json::Value odil::as_json (std::shared_ptr< DataSet const > data_set, Value::Strings const &specific_character_set={})
 Convert a data set to its JSON representation. More...
 
std::shared_ptr< DataSet > odil::as_dataset (Json::Value const &json)
 Create a data set from its JSON representation. More...