Join Slack
Is it possible to use Moshi to handle json in Spring Boot instead of Jackson or Gson?
# spring
d
Dave Jensen
02/06/2020, 4:02 AM
Is it possible to use Moshi to handle json in Spring Boot instead of Jackson or Gson?
b
Ben
02/06/2020, 7:30 PM
I'm not sure if there is a library that does it but you should be able to do something like this and provide it as a bean
https://github.com/spring-projects/spring-framework/blob/master/spring-web/src/main/java/org/springframework/http/codec/json/AbstractJackson2Decoder.java
111
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by