Celeritas  0.5.0-86+4a8eea4
Functions
QuantityIO.json.hh File Reference
#include <string>
#include <nlohmann/json.hpp>
#include "corecel/Assert.hh"
#include "Quantity.hh"
This graph shows which files directly or indirectly include this file:

Functions

template<class UnitT , class ValueT >
void celeritas::from_json (nlohmann::json const &j, Quantity< UnitT, ValueT > &q)
 Read a quantity from a JSON file.
 
template<class UnitT , class ValueT >
void celeritas::to_json (nlohmann::json &j, Quantity< UnitT, ValueT > const &q)
 Write a quantity to a JSON file.