Join Slack
Powered by
hello, I have a question with data classes, can I ...
# getting-started
a
alvico
06/02/2017, 9:37 AM
hello, I have a question with data classes, can I use them in standard java libraries for deserialise as pojos, like jakson from fasterxml?
a
akbarsha03
06/02/2017, 9:50 AM
alvico: Yup, you can use. It works well out of the box without any issue. works with google’s gson too
a
alvico
06/02/2017, 9:53 AM
ok I'll try, thanks
alvico
06/02/2017, 9:53 AM
do you know if gson can parse xml, too?
a
akbarsha03
06/02/2017, 10:22 AM
gson is specifically for json parsing
akbarsha03
06/02/2017, 10:22 AM
You’ll have to use some other library to parse xml
r
roborative
06/02/2017, 7:15 PM
Jackson does both
2
Views
Open in Slack
Previous
Next