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,8 +7,7 @@ enum JsonNodeType
JSON_ARRAY,
JSON_OBJECT,
JSON_KEY,
JSON_TRUE,
JSON_FALSE,
JSON_BOOLEAN,
JSON_STRING,
JSON_INTEGER,
JSON_DOUBLE_0_DECIMALS,
@ -24,6 +23,7 @@ struct JsonNode
union
{
bool asBoolean;
double asDouble;
int asInteger;