Add descriptive convertJsonToPdx(..) conversion method.

Add protected jsonFormatterFromJson(..) method to encapsulate the invocation of the JSONFormatter.fromJSON(..) method.

Add wrap(:PdxInstance) method to wrap the PdxInstance generated from JSON in a new instance of PdxInstanceWrapper.

Resolves gh-67.
This commit is contained in:
John Blum
2020-05-12 19:33:14 -07:00
parent eba12bad17
commit 8fe13e01fb
3 changed files with 41 additions and 5 deletions

View File

@@ -118,7 +118,7 @@ public class PdxInstanceWrapper implements PdxInstance, Sendable {
* never {@literal null}.
* @see org.apache.geode.pdx.PdxInstance
*/
protected PdxInstance getDelegate() {
public PdxInstance getDelegate() {
return this.delegate;
}