https://mooseframework.inl.gov
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 244 of file JSONOutput.C.

245 {
246  stream >> json;
247 }

◆ dataStore()

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

Definition at line 237 of file JSONOutput.C.

238 {
239  stream << json;
240 }