Isis Developer Reference
PvlToJSON.h
Go to the documentation of this file.
1#ifndef PvlToJSON_h
2#define PvlToJSON_h
3
9/* SPDX-License-Identifier: CC0-1.0 */
10
11#include <nlohmann/json.hpp>
12#include "QString"
13
14namespace Isis {
15 class Pvl;
16 class PvlContainer;
17 class PvlGroup;
18 class PvlKeyword;
19 class PvlObject;
20
21 nlohmann::json pvlToJSON(Pvl &pvl);
22 nlohmann::json pvlToJSON(QString pvlFile);
23 nlohmann::json pvlContainerToJSON(PvlContainer &container);
24 nlohmann::json pvlKeywordToJSON(PvlKeyword &keyword);
25 nlohmann::json pvlGroupToJSON(PvlGroup &group);
26 nlohmann::json pvlObjectToJSON(PvlObject &object);
27}
28
29#endif
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
json pvlKeywordToJSON(PvlKeyword &keyword)
Convert the contents of a PvlKeyword to a JSON object.
Definition PvlToJSON.cpp:78
json pvlToJSON(Pvl &pvl)
Convert the contents of a Pvl to a JSON object.
Definition PvlToJSON.cpp:350
json pvlGroupToJSON(PvlGroup &group)
Convert the contents of a PvlGroup to a JSON object.
Definition PvlToJSON.cpp:215
json pvlContainerToJSON(PvlContainer &container)
Convert the contents of a PvlContainer to a JSON object.
Definition PvlToJSON.cpp:133
json pvlObjectToJSON(PvlObject &object)
Convert the contents of a PvlObject to a JSON object.
Definition PvlToJSON.cpp:296