Convert Java Object, Array and List to Json String with Jackson
In the first article of our Jackson tutorial series, we learned how to convert JSON string into Java objects. In this article, we will explore the reverse process – converting Java objects, arrays, and lists into JSON strings using the ObjectMapper class.