JBoss Community

Re: Resteasy: Object to JSON upper case?

created by Ben Meyer in JBoss Web Services - View the full discussion

Found the answer ... :)

Added this to our pom:

<dependency>
    <groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-core-asl</artifactId>
    <version>1.9.2</version>
    <scope>provided</scope>
</dependency>

 

and then used:

@JsonTypeName("Body") and @JsonProperty("Def")

in the class files!

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community