Details
-
Bug
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
1.9.2, 1.10.0, 1.11.0, 1.12.0
-
None
Description
The Apache Geode JSONFormatter class is not symmetric.
While it can parse JSON content and properly resolve JSON Objects as POJOs (from PdxInstance.getObject() when the @type metadata field is present in the JSON content, the JSONFormatter does not properly set the @type metadata field, particularly when a PdxInstance has a valid class name as determined by PdxInstance.getClassName().
A test case illustrating this issue can be found here.