Convert Java Object to JSON String using Jackson Library

preview_player
Показать описание
This video is about how to convert Java Object into JSON string using Jackson Library
Refer below video for Parsing json string to Java Object or Array
Рекомендации по теме
Комментарии
Автор

I have about 20 objects, all with the same keys, but constantly changing values. How would I achieve the same thing with my data? Also, after splittering and aggregation (Apache Camel) my json is not valid but in this form: {} {} {}. How should I go about changing it into a valid format in Java? Like this: [{}, {}, {}]

kiuu