#include <fims_json.hpp>
◆ JsonValue() [1/7]
| fims::JsonValue::JsonValue |
( |
| ) |
|
|
inline |
Default constructor, initializes to Null value.
◆ JsonValue() [2/7]
| fims::JsonValue::JsonValue |
( |
int |
num | ) |
|
|
inline |
Constructor for numeric JSON value (i.e., integer).
◆ JsonValue() [3/7]
| fims::JsonValue::JsonValue |
( |
double |
num | ) |
|
|
inline |
Constructor for numeric JSON value (i.e., double).
◆ JsonValue() [4/7]
| fims::JsonValue::JsonValue |
( |
const std::string & |
str | ) |
|
|
inline |
Constructor for string JSON value.
◆ JsonValue() [5/7]
| fims::JsonValue::JsonValue |
( |
bool |
b | ) |
|
|
inline |
Constructor for boolean JSON value.
◆ JsonValue() [6/7]
Constructor for JSON object value.
◆ JsonValue() [7/7]
Constructor for JSON array value.
◆ GetArray()
◆ GetBool()
| bool fims::JsonValue::GetBool |
( |
| ) |
const |
|
inline |
◆ GetDouble()
| double fims::JsonValue::GetDouble |
( |
| ) |
const |
|
inline |
Get the numeric value as a double.
◆ GetInt()
| int fims::JsonValue::GetInt |
( |
| ) |
const |
|
inline |
Get the numeric value as an integer.
◆ GetObject()
◆ GetString()
| const std::string & fims::JsonValue::GetString |
( |
| ) |
const |
|
inline |
◆ GetType()
Get the type of the JSON value.
The documentation for this class was generated from the following file: