[jboss-user] [JBoss Web Services] - Re: Resteasy: Object to JSON upper case?

Ben Meyer do-not-reply at jboss.com
Tue Feb 19 03:40:26 EST 2013


Ben Meyer [https://community.jboss.org/people/pr0st] created the discussion

"Re: Resteasy: Object to JSON upper case?"

To view the discussion, visit: https://community.jboss.org/message/798268#798268

--------------------------------------------------------------
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
[https://community.jboss.org/message/798268#798268]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130219/36c244dd/attachment.html 


More information about the jboss-user mailing list