/usr/include/odil/json_converter.h is in libodil0-dev 0.4.1-1.
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 | /*************************************************************************
* 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"
namespace odil
{
/// @brief Convert a data set to its JSON representation.
Json::Value as_json(DataSet const & data_set);
/// @brief Create a data set from its JSON representation.
DataSet as_dataset(Json::Value const & json);
}
#endif // _6f5dc463_a89a_4f77_a0ed_36dca74b9e59
|