Class with methods to read and write BeamModelProperties from and to json files or strings.
More...
#include <BeamModelPropertiesReaderWriter.h>
Class with methods to read and write BeamModelProperties from and to json files or strings.
Definition at line 30 of file BeamModelPropertiesReaderWriter.h.
◆ readJson()
Read parameters from a file with json data and assign values to BeamModelProperties.
- Parameters
-
| properties | The Material to modify |
| filename | Name of input file |
◆ readJsonString()
Read parameters from a string with json data and assign values to BeamModelProperties.
- Parameters
-
| properties | The Material to modify |
| jsonContents | json data |
◆ writeJson()
◆ writeJsonString()
Read parameters from BeamModelProperties and write result to a String.
- Parameters
-
| properties | The BeamModelProperties whose values should be read |
| jsonOutput | String that will contain the output |
- Returns
- True if json output could be assigned to the string
The documentation for this class was generated from the following file: