Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Schema validation can be enabled and custom @Consume and @Produce media types can be injected, see this example and "Customizing media types for message body providers" and "Schema Validation" sections for more information.

Note that JSONProvider is Jettison based and supports only JAXB annotated beans. You should use Jackson provider to process POJOs without JAXB annotations.

Dealing with Jettison array serialization issues

...