Test that boolean values can be stored in a JsonObject

This commit is contained in:
Benoit Blanchon
2014-09-27 15:04:06 +02:00
parent 5fa446d3f5
commit 75588946c6
5 changed files with 36 additions and 27 deletions

View File

@ -7,17 +7,17 @@
class JsonValue
{
public:
JsonValue(JsonNode* node)
explicit JsonValue(JsonNode* node)
: _node(node)
{
}
// void operator=(const JsonObject& object);
void operator=(bool);
void operator=(double);
void operator=(int);
// operator JsonObject();
operator bool();
operator double();
operator int();