JSTEP - FasterXML/jackson-future-ideas GitHub Wiki

Jackson STrategic Enhancement Proposals (JSTEP)

With Jackson 3, we want to start experimenting with something like "Jackson Big Ideas", maybe similar to Kafka KIPs. Not unlike IETF RFCs, but bit smaller documents.

Name tentatively chosen is "JSTEP" (Jackson STrategic Enhancement Proposal").

Implemented JSTEPS

  • Replace checked JsonProcessingException with unchecked JacksonException: JSTEP-4

Proposed JSTEPs

  1. Major version upgrade details: JSTEP-1
  2. Jackson 3 default setting, behavior changes: JSTEP-2
  3. JsonNode improvements for Jackson 3: JSTEP-3
  4. Replace checked JsonProcessingException with unchecked JacksonException JSTEP-4 (completed!)
  5. Unify Date/Time handling, formats, defaults across JDK Classic, Joda and Java 8 date/time: JSTEP-5
  6. Jackson 3 Big Renaming of Core Entities: JSTEP-6
  7. More modular on/off "Feature"s beyond existing mapper/ser/deser: JSTEP-7
    • Note that JSTEP-3 above contains one for JsonNode configuration
    • Date/Time settings?
  8. Add some kind of processing limits for accepted input (max depth of nesting, number of keys per Object), to protected against DoS attacks. Similar to (for example), Woodstox' limits.

Initially proposed, but discarded:

  • Add proper Tree Model for jackson-dataformat-xml (instead, minor improvements to existing JsonNode, like auto-conversion of ObjectNode to ArrayNode
    • Made obsolete (or at least less necessary) by 2.12 work to support implicit coercion of sequences into ArrayNode (dataformat-xml#403)

Sources for new JSTEPs

Although any improvement idea can become a JSTEP, one good source is Major Design Issues, which lists areas where current design limits implementation improvements.

Other

More generic of Jackson 3 changes are improvement ideas are listed on Jackson3 Changes page; this is an older page also including some of changes already made.