Discussion:
[jboss-user] [JBoss Web Services] - Re: Resteasy: Object to JSON upper case?
Ben Meyer
2013-02-19 08:40:26 UTC
Permalink
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]
Loading...