FasterXML/jackson-databind — pull request #6 by rawlingsj (2012-03-31 22:38:50+00:00)
Title: This change will generate JSON as required if the Java class contains the @XMLElement(required=true).

To add context, we are generating our Java classes from an XSD. The Java classes contain the @XMLElement(required=true) annotation if it is required. This change will add the required attribute when generating the JSON schema from the Java class.