AnsweredAssumed Answered

Sending JSON with hierarchy

Question asked by Lechwerke on Jan 30, 2019
Latest reply on Feb 13, 2019 by Lechwerke

Hi,

 

I'm trying to send a JSON to a MQTT which contains hierarchy:

 

{
   "reference": "1",
   "confirmed": true,
   "fPort": 1,
   "object": {
        "data": 50
    }
}

 

I created the following GeoeventDefintion:

GeoeventDef to send

 

Because the incoming GeoEventDefintion looks different (plain JSON-Structure without hierarchy), I try to use the FieldMapper:

FieldMapper

 

Unfortunately this does not work :-(

ErrorLog

 

Looks like FieldMapper cannot handle hierarchy !?

Is this the wrong approach?

Any help is appreciated ...

Outcomes