| 2013 | bool Value::operator!=(const Value& other) const { return !(*this == other); } |
| 2014 | |
| 2015 | const char* Value::asCString() const { |
| 2016 | JSON_ASSERT_MESSAGE(type_ == stringValue, |
| 2017 | "in Json::Value::asCString(): requires stringValue"); |
| 2018 | return value_.string_; |
| 2019 | } |
| 2020 | |
| 2021 | std::string Value::asString() const { |
| 2022 | switch (type_) { |