| 118 | bool is_bool() const { return type() == BOOL; } |
| 119 | bool is_string() const { return type() == STRING; } |
| 120 | bool is_array() const { return type() == ARRAY; } |
| 121 | bool is_object() const { return type() == OBJECT; } |
| 122 | |
| 123 | // Return the enclosed value if this is a number, 0 otherwise. Note that json11 does not |