12#include <nlohmann/json.hpp> 
   17  nlohmann::json 
fitsToJson(std::ifstream &fileStream);
 
This is free and unencumbered software released into the public domain.
json fitsToJson(std::ifstream &fileStream)
Convert the contents of a stream to a JSON object.