Skip to content
Snippets Groups Projects
Commit 6688f9b7 authored by Kelvin Rodriguez's avatar Kelvin Rodriguez Committed by acpaquette
Browse files

Update Pvl.cpp

parent 5b94d700
Branches gdal_pvl
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ namespace Isis {
* @param file The file containing the pvl formatted information
*/
Pvl::Pvl(const QString &file) : Isis::PvlObject("Root") {
// This function specifically reads from GDAL-style JSON metadata.
function<PvlObject(PvlObject&, json)> read_object = [&](PvlObject &pvlobj, json jdata) -> PvlObject {
for(auto &[key, value] : jdata.items()) {
string name = key;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment