/usr/include/odil/json_converter.h is in libodil-dev 0.8.0-4build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | /*************************************************************************
* odil - Copyright (C) Universite de Strasbourg
* Distributed under the terms of the CeCILL-B license, as published by
* the CEA-CNRS-INRIA. Refer to the LICENSE file or to
* http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
* for details.
************************************************************************/
#ifndef _6f5dc463_a89a_4f77_a0ed_36dca74b9e59
#define _6f5dc463_a89a_4f77_a0ed_36dca74b9e59
#include <json/json.h>
#include "odil/DataSet.h"
#include "odil/odil.h"
#include "odil/Value.h"
namespace odil
{
/// @brief Convert a data set to its JSON representation.
ODIL_API Json::Value as_json(
DataSet const & data_set,
odil::Value::Strings const & specific_character_set=odil::Value::Strings());
/// @brief Create a data set from its JSON representation.
ODIL_API DataSet as_dataset(Json::Value const & json);
}
#endif // _6f5dc463_a89a_4f77_a0ed_36dca74b9e59
|