Skip to content

Commit

Permalink
Merge pull request #2032 from sameera-jayasoma/master
Browse files Browse the repository at this point in the history
Close JSON array in streaming
  • Loading branch information
SupunS authored Feb 19, 2017
2 parents 1249830 + 17d04a5 commit 2d20bda
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public void serialize(JsonGenerator gen) throws IOException {
while (this.df.next()) {
this.objGen.transform(this.df).serialize(gen, null);
}
gen.writeEndArray();
this.df.close();
}

Expand Down

0 comments on commit 2d20bda

Please sign in to comment.