https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Classes | Functions
JSONOutput.h File Reference

Go to the source code of this file.

Classes

class  JSONOutput
 

Functions

template<>
void dataStore (std::ostream &stream, nlohmann::json &json, void *context)
 
template<>
void dataLoad (std::istream &stream, nlohmann::json &json, void *context)
 

Function Documentation

◆ dataLoad()

template<>
void dataLoad ( std::istream &  stream,
nlohmann::json &  json,
void *  context 
)

Definition at line 245 of file JSONOutput.C.

246{
247 stream >> json;
248}

◆ dataStore()

template<>
void dataStore ( std::ostream &  stream,
nlohmann::json &  json,
void *  context 
)

Definition at line 238 of file JSONOutput.C.

239{
240 stream << json;
241}