[
https://issues.apache.org/jira/browse/GEODE-2282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15830423#comment-15830423
]
ASF subversion and git services commented on GEODE-2282:
--------------------------------------------------------
Commit 8b303e43bce0518f4cd290b688f7ee93ebe2da3e in geode's branch
refs/heads/develop from [~hitesh.khamesra]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=8b303e4 ]
GEODE-2282 Added ability to sort JSON fields while creating pdxtype.
One can enable this feature by setting java system property(
gemfire.pdx.mapper.sort-json-field-names=true. In this way geode will
not create multiple pdx type ids for JSON document, if different JSON
document has same fields in different order.
Added unit test for it.
updated
> Provide ability to sort field while creating pdxType for jSON document
> ----------------------------------------------------------------------
>
> Key: GEODE-2282
> URL: https://issues.apache.org/jira/browse/GEODE-2282
> Project: Geode
> Issue Type: Bug
> Components: serialization
> Reporter: Hitesh Khamesra
> Assignee: Hitesh Khamesra
>
> There is the possibility that same JSON document can create multiple pdxType
> ids, if different JSON docs contain same fields in different order. Thus sort
> those field while creating the pdxType id. Introduce system property to
> enable this feature.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)