Feature: pluggable value instance creators

(see Jira entry JACKSON-580 for details)

Prior to 1.9, one had to either

The new abstraction introduced in 1.9 is ValueInstantiator; which defines simple API to allow constructing instances from various JSON types. Functionality is mostly same as that offered by @JsonCreator, regarding types of input taken for construction, but does not force any specific construction strategy: implementations can use whatever mechanism they want.

[TO COMPLETE]

Example: simple scalar creation

Example: delegate-object based creation

Example: property-based creation

JacksonFeatureValueInstantiator (last edited 2011-07-06 03:27:06 by TatuSaloranta)

Copyright ©2009 FasterXML, LLC