Skip to content

Commit

Permalink
Close JSON array in streaming
Browse files Browse the repository at this point in the history
  • Loading branch information
sameerajayasoma committed Feb 19, 2017
1 parent e519e14 commit 17d04a5
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 17d04a5

Please sign in to comment.