Change in the loop, to generate the correct answer (feature visit_json_object).
This commit is contained in:
@@ -79,9 +79,9 @@ feature -- Visitor Pattern
|
||||
until
|
||||
l_pairs.off
|
||||
loop
|
||||
l_pairs.item_for_iteration.accept (Current)
|
||||
to_json.append (":")
|
||||
l_pairs.key_for_iteration.accept (Current)
|
||||
to_json.append (":")
|
||||
l_pairs.item_for_iteration.accept (Current)
|
||||
l_pairs.forth
|
||||
if not l_pairs.after then
|
||||
to_json.append (",")
|
||||
|
||||
Reference in New Issue
Block a user