Ben Meyer
2013-02-19 08:40:26 UTC
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]
"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]