Fixed inner object bug

This commit is contained in:
Benoit Blanchon committed 2014-09-28 21:04:59 +02:00
1 parent bc44c36385
commit e190b20ae1
5 files changed
+47 -15

No files matched your search

+5
View File
@@ -51,6 +51,11 @@ JsonValue JsonObject::operator[](char const* key)
return JsonValue(node);
}
bool JsonObject::operator==(JsonObject const& other) const
{
return _node == other._node;
}
JsonNode* JsonObject::getOrCreateNodeAt(char const* key)
{
if (!_node || _node->type != JSON_OBJECT) return 0;