geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jinmei Liao <>
Subject TypedJson
Date Wed, 28 Nov 2018 22:52:32 GMT
TypedJson is our own implementation of serializing objects into json
strings. It is used to produce a json string when user executes a query
though jmx (DistributedSystemMbean.querydata call). Due to is usage of
org.json and some usage of it causes StackOverFlow that kills the server,
we would like to have it use jackson json instead.

The problem is the output json string would be different as you can see
from some of the examples below:
TypedJson output:

Jackson json output with DefaultTyping enabled

The only known consumer of these json string is Pulse and any other caller
using jmx queryData call. For Pulse, we can change the display to consume
this new format, but we can't do anything about other jmx client. If we
want to remove this proprietary json serialization, we will need to
deprecate this jmx call and add another one using jackson. Do we know
anyone is consuming the json output coming from a jmx client call?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message