-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/55389/#review161449
-----------------------------------------------------------




geode-core/src/main/java/org/apache/geode/pdx/JSONFormatter.java (line 121)
<https://reviews.apache.org/r/55389/#comment232707>

    Maybe as part of a refactor the Factory can be held onto. According to the 
docs they are reusable and thread-safe.



geode-core/src/main/java/org/apache/geode/pdx/JSONFormatter.java (line 144)
<https://reviews.apache.org/r/55389/#comment232709>

    Maybe we can have a "getJSONParser(Object input)" method that would return 
a jsonParser. Then we can merge the two fromJson methods or at least not 
duplicate the internals.


- Udo Kohlmeyer


On Jan. 10, 2017, 7:36 p.m., Hitesh Khamesra wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/55389/
> -----------------------------------------------------------
> 
> (Updated Jan. 10, 2017, 7:36 p.m.)
> 
> 
> Review request for geode, Bruce Schuchardt and Udo Kohlmeyer.
> 
> 
> Repository: geode
> 
> 
> Description
> -------
> 
> Added ability to sort json field while convertsing json to pdx. It will help 
> us reduce number of pdxType id, when document has fields in duifferent order. 
> One can enable this feature using java system property 
> gemfire.sort-json-field-names
> 
> 
> Diffs
> -----
> 
>   geode-core/src/main/java/org/apache/geode/pdx/JSONFormatter.java a96e111 
>   
> geode-core/src/main/java/org/apache/geode/pdx/internal/json/JSONToPdxMapper.java
>  PRE-CREATION 
>   
> geode-core/src/main/java/org/apache/geode/pdx/internal/json/PdxInstanceHelper.java
>  a91fbd4 
>   
> geode-core/src/main/java/org/apache/geode/pdx/internal/json/PdxInstanceSortedHelper.java
>  PRE-CREATION 
>   
> geode-core/src/main/java/org/apache/geode/pdx/internal/json/PdxListHelper.java
>  caf0dfc 
>   geode-core/src/test/java/org/apache/geode/pdx/JSONFormatterJUnitTest.java 
> cbe350f 
>   
> geode-core/src/test/java/org/apache/geode/pdx/JSONPdxClientServerDUnitTest.java
>  ae17837 
> 
> Diff: https://reviews.apache.org/r/55389/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Hitesh Khamesra
> 
>

Reply via email to