Use moshi with spring boot

Viewed 589

How do i use Moshi with Spring boot i have set the json mapper and added the pom but i don't seems to work

spring.http.converters.preferred-json-mapper=moshi

         <dependency>
            <groupId>com.squareup.moshi</groupId>
            <artifactId>moshi</artifactId>
            <version>1.9.2</version>
        </dependency>
        <dependency>
            <groupId>com.squareup.moshi</groupId>
            <artifactId>moshi-adapters</artifactId>
            <version>1.9.2</version>
        </dependency>  
0 Answers
Related