Loading [MathJax]/jax/output/NativeMML/config.js
Isis Developer Reference
XmlToJson.h
Go to the documentation of this file.
1 #ifndef XmlToJson_h
2 #define XmlToJson_h
3 
9 /* SPDX-License-Identifier: CC0-1.0 */
10 #include "QDomElement"
11 #include "QString"
12 
13 #include <nlohmann/json.hpp>
14 
15 namespace Isis {
16  nlohmann::json xmlToJson(QString xmlFile);
17  nlohmann::json xmlToJson(QDomDocument& doc);
18 }
19 
20 #endif
Isis::IException::Io
@ Io
A type of error that occurred when performing an actual I/O operation.
Definition: IException.h:155
Isis::xmlToJson
json xmlToJson(QString xmlFile)
Converts an XML file to a json object.
Definition: XmlToJson.cpp:34
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
XmlToJson.h
json
nlohmann::json json
Definition: PvlObject.cpp:22
Isis::convertLastChildNodeToJson
json convertLastChildNodeToJson(QDomElement &element)
Not intended to be used directly.
Definition: XmlToJson.cpp:92
Isis::IException
Isis exception class.
Definition: IException.h:91
IException.h
Isis::convertXmlToJson
json convertXmlToJson(QDomElement &element, json &output)
Not intended to be used directly.
Definition: XmlToJson.cpp:145
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
json
nlohmann::json json
This is free and unencumbered software released into the public domain.
Definition: XmlToJson.cpp:18

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 03/21/2022 06:51:31