Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
units_json.hpp File Reference
Include dependency graph for units_json.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  shamunits
 namespace containing the units library

Functions

template<class Tscal>
void shamunits::to_json (nlohmann::json &j, const ::shamunits::UnitSystem< Tscal > &p)
 Converts a UnitSystem object to a JSON object.
template<class Tscal>
void shamunits::from_json (const nlohmann::json &j, ::shamunits::UnitSystem< Tscal > &p)
 Deserializes a UnitSystem object from a JSON object.

Detailed Description