![]() |
FIMS
v0.8.1
|
#include <fims_json.hpp>
Public Member Functions | |
| JsonValue | Parse (const std::string &json) |
| void | WriteToFile (const std::string &filename, JsonValue jsonValue) |
| void | Show (JsonValue jsonValue) |
Static Public Member Functions | |
| static std::string | removeWhitespace (const std::string &input) |
| static std::string | PrettyFormatJSON (const std::string &json) |
| Formats a JSON string. | |
Parses JSON strings and generates JSON values.
Parse a JSON string and return the corresponding JSON value.
Parse a JSON string and return the corresponding JSON value.
| json | The JSON string to parse. |
Formats a JSON string.
| json |
Remove whitespace in JSON.
Display a JSON value to the standard output.
Display a JSON value to the standard output.
| jsonValue | The JSON value to display. |
Write a JSON value to a file.
Write a JSON value to an output file.
| filename | The name of the output file. |
| jsonValue | The JSON value to write. |
Call a private helper function to write JSON values recursively