added JSON_OBJECT.is_empty: BOOLEAN

This commit is contained in:
jfiat
2012-02-21 10:07:58 +00:00
parent a6c52c0a7e
commit c873d62efa

View File

@@ -98,6 +98,14 @@ feature -- Access
Result.append_character ('}')
end
feature -- Status report
is_empty: BOOLEAN
-- Is empty object?
do
Result := object.is_empty
end
feature -- Visitor pattern
accept (a_visitor: JSON_VISITOR)