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