I'm using Resteasy 2.0.1.GA and thusly Resteasy-jettison-provider-1.2.GA and whenever I have a String property that contains all numbers (i.e. String test="1111";), the JSON response will display it as a number by removing the double quotes. If I change it to String test="oneoneoneoneone"; the JSON response will treat it as a String and keep the double quotes in the response. Is there anyway to have the Jettison provider strictly interpret the data to response based on its type and not its value? I tried the below JAXB annotation as well, but I still see the same issue.
@XmlElement(type=String.class)
private String text;