Forum Discussion

PicassoMendez's avatar
PicassoMendez
Icon for Nimbostratus rankNimbostratus
May 12, 2015

Using {} in a health monitor receive string

I have application designer that asked to use setup a health monitor and the receive string was this:

 

{"databaseReachable":{"healthy":true},"dispatchable":{"healthy":true},"memoryUtilization":{"healthy":true}}

 

I know how to deal with the double quotes using a hex string but that did not work on the "{}" characters.

 

Is ther a way to get this accepted the way it is written?

 

2 Replies

  • You need to escape it, try:

    \{\"databaseReachable\":\{\"healthy\":true\},\"dispatchable\":\{\"healthy\":true\},\"memoryUtilization\":\{\"healthy\":true\}\}

    Regards.