[ 
https://issues.apache.org/jira/browse/GEODE-2282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15832555#comment-15832555
 ] 

ASF subversion and git services commented on GEODE-2282:
--------------------------------------------------------

Commit 8b303e43bce0518f4cd290b688f7ee93ebe2da3e in geode's branch 
refs/heads/feature/GEODE-1930-2 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: docs
>            Reporter: Hitesh Khamesra
>            Assignee: Joey McAllister
>             Fix For: 1.1.0
>
>
> 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)

Reply via email to