Create JSON with Java, Part 2: Json, JsonObject, JsonArray

Published: 11 November 2015
on channel: Brandan Jones
29,151
95

In part 2 of the series, we invoke an existing business logic layer to get a List of Plant objects. We iterate over the plant objects and create a JsonArray, full of JsonObjects. We write those JsonObjects to a servlet, using a PrintWriter, and verify the results.

Part 1, where we create the servlet, is available here:    • Create JSON with Java, Part 1: Create a Se...  

This video is part of a playlist on Full Stack Enterprise Web Development. To watch the previous videos, see the list here:    • Full Stack Enterprise Web Development with...  

Source code is available here: https://github.com/discospiff/JavaFul...


On this page of the site you can watch the video online Create JSON with Java, Part 2: Json, JsonObject, JsonArray with a duration of hours minute second in good quality, which was uploaded by the user Brandan Jones 11 November 2015, share the link with friends and acquaintances, this video has already been watched 29,151 times on youtube and it was liked by 95 viewers. Enjoy your viewing!