odil
C++11libraryfortheDICOMstandard
json_converter.h
1 /*************************************************************************
2  * odil - Copyright (C) Universite de Strasbourg
3  * Distributed under the terms of the CeCILL-B license, as published by
4  * the CEA-CNRS-INRIA. Refer to the LICENSE file or to
5  * http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
6  * for details.
7  ************************************************************************/
8 
9 #ifndef _6f5dc463_a89a_4f77_a0ed_36dca74b9e59
10 #define _6f5dc463_a89a_4f77_a0ed_36dca74b9e59
11 
12 #include <json/json.h>
13 
14 #include "odil/DataSet.h"
15 #include "odil/odil.h"
16 #include "odil/Value.h"
17 
18 namespace odil
19 {
20 
22 ODIL_API Json::Value as_json(
23  DataSet const & data_set,
24  odil::Value::Strings const & specific_character_set=odil::Value::Strings());
25 
27 ODIL_API DataSet as_dataset(Json::Value const & json);
28 
29 }
30 
31 #endif // _6f5dc463_a89a_4f77_a0ed_36dca74b9e59
std::vector< String > Strings
String container.
Definition: Value.h:57
Definition: Association.cpp:39