Test that integers can be stored in a JsonObject

This commit is contained in:
Benoit Blanchon
2014-09-27 14:51:50 +02:00
parent a2fc188526
commit 71fd2de675
7 changed files with 63 additions and 18 deletions

View File

@ -48,7 +48,7 @@ size_t JsonObject::size()
JsonValue JsonObject::operator[](char const* key)
{
JsonNode* node = getOrCreateNodeAt(key);
return JsonValue(/*node*/);
return JsonValue(node);
}
JsonNode* JsonObject::getOrCreateNodeAt(char const* key)