added JSON_OBJECT.is_empty: BOOLEAN
This commit is contained in:
@@ -98,6 +98,14 @@ feature -- Access
|
|||||||
Result.append_character ('}')
|
Result.append_character ('}')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
feature -- Status report
|
||||||
|
|
||||||
|
is_empty: BOOLEAN
|
||||||
|
-- Is empty object?
|
||||||
|
do
|
||||||
|
Result := object.is_empty
|
||||||
|
end
|
||||||
|
|
||||||
feature -- Visitor pattern
|
feature -- Visitor pattern
|
||||||
|
|
||||||
accept (a_visitor: JSON_VISITOR)
|
accept (a_visitor: JSON_VISITOR)
|
||||||
|
|||||||
Reference in New Issue
Block a user