Top "Moxy" questions

MOXy is the object-to-XML and object-to-JSON component of EclipseLink.

PropertyException when setting Marshaller property with eclipselink.media-type value: application/json

I'm attempting to follow the example located here but get an javax.xml.bind.PropertyException. I receive this exception because …

java jaxb eclipselink marshalling moxy
Cannot get EclipseLink MOXy to work

I'm new to JAXB and I want to change the default namespace prefix using EclipseLink MOXy. My package-info.java has …

xml jaxb eclipselink moxy
Use Moxy as default JAXB Implementation

In order to use Moxy as JAXB Implementation, one has to add a file called jaxb.properties in the folder …

xml json jaxb moxy
MOXy JAXB: how to exclude elements from marshalling

I have my model: @XmlRootElement @XmlAccessorType(XmlAccessType.FIELD) public class CustomerTest { private Long id; @XmlPath("contact-info/billing-address") private AddressTest billingAddress; @…

jaxb eclipselink moxy
How to POST JSON request to a Jersey REST service?

I can successfully post XML data to my service, but, trying to do the same using JSON is failing. The …

jersey eclipselink jax-rs moxy
Remove "type" from JSON output jersey moxy

How to remove the type from the JSON output that I have. I have a class/bean that contains output …

java json jersey marshalling moxy
Unmarshalling nested objects from JSON with JAXB

I'm trying to unmarshall input JSON into JAXB objects with Eclipselink. However, when I try to do this, I find …

json jaxb eclipselink moxy