https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Functions
JSONOutput.C File Reference

Go to the source code of this file.

Functions

 registerMooseObjectAliased ("MooseApp", JSONOutput, "JSON")
 
template<>
void dataStore (std::ostream &stream, nlohmann::json &json, void *)
 
template<>
void dataLoad (std::istream &stream, nlohmann::json &json, void *)
 

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}

◆ registerMooseObjectAliased()

registerMooseObjectAliased ( "MooseApp"  ,
JSONOutput  ,
"JSON"   
)