[
https://issues.apache.org/jira/browse/PIVOT-521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877541#action_12877541
]
Greg Brown commented on PIVOT-521:
----------------------------------
Originally, bean binding was implemented in the JSON class, and beans could be
bound to an existing JSON object hierarchy. However, this required traversing
the hierarchy twice - once to load it from the JSON file and again to bind it
to the bean. Binding is now performed in JSONSerializer directly, such that the
hierarchy only needs to be traversed once. The caller passes a class
representing the desired output type to the JSONSerializer constructor.
However, this argument conflicted with the previous "immutable" constructor
argument. Since bean binding is likely to be a more valuable feature than
immutable collection output, the latest code eliminates the immutable flag in
favor of bean binding support.
> Add support for binding JSON structures to Java Beans
> -----------------------------------------------------
>
> Key: PIVOT-521
> URL: https://issues.apache.org/jira/browse/PIVOT-521
> Project: Pivot
> Issue Type: New Feature
> Components: core-json
> Reporter: Greg Brown
> Assignee: Greg Brown
> Fix For: 1.5.1
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.