diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-10-31 23:02:10 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-10-31 23:02:10 +0100 |
commit | c2467d222ec08ddc4c6f79ea01773496090f809f (patch) | |
tree | 33132f324da5b9bfb7a3d711c85053f80ac4f427 /lib/Json.h | |
parent | 6728ddc82936d8d6223a885bf7fbcec9a00c18a6 (diff) | |
download | dabmod-c2467d222ec08ddc4c6f79ea01773496090f809f.tar.gz dabmod-c2467d222ec08ddc4c6f79ea01773496090f809f.tar.bz2 dabmod-c2467d222ec08ddc4c6f79ea01773496090f809f.zip |
Add FIC decoder, present ensemble info for monitoring
Diffstat (limited to 'lib/Json.h')
-rw-r--r-- | lib/Json.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -31,7 +31,7 @@ # include "config.h" #endif -#include <list> +#include <vector> #include <memory> #include <optional> #include <stdexcept> @@ -47,6 +47,7 @@ namespace json { struct value_t { std::variant< std::shared_ptr<std::unordered_map<std::string, value_t>>, + std::vector<value_t>, std::string, double, size_t, @@ -58,4 +59,5 @@ namespace json { using map_t = std::unordered_map<std::string, value_t>; std::string map_to_json(const map_t& values); + std::string value_to_json(const value_t& value); } |