OpenHAB3 http binding + jsonpath

For 1.b) the JSONPATH Transformation does happen within the link, which is not part of the Thing.
If using text configuraiton it would look like

String MyStatus "Status is [%s]" {channel="http:thing:MyJSONresult"[profile="transform:JSONPATH", function="$.statusInfo.status"]}

And if status is of type Number, you can link to a Number Item.

Let’s take another example.

The string channel http:myDevice:json is holding this JSON object:

{
  "Time":"2022-10-01T14:30:03",
  "Shutter1": {
    "Position":0,
    "Direction":0,
    "Target":0,
    "Tilt":0
  }
}

Now I can link more than one Item to this string channel:

DateTime DateAndTime "Time [%1$tc]"     {channel="http:myDevice:json"[profile="transform:JSONPATH", function="$.Time"]}
Number   Position    "Position [%d%%]"  {channel="http:myDevice:json"[profile="transform:JSONPATH", function="$.Shutter1.Position"]}
Number   Direction   "Direction [%d%%]" {channel="http:myDevice:json"[profile="transform:JSONPATH", function="$.Shutter1.Direction"]}
Number   Target      "Target [%d%%]"    {channel="http:myDevice:json"[profile="transform:JSONPATH", function="$.Shutter1.Target"]}
Number   Tilt        "Tilt [%d%%]"      {channel="http:myDevice:json"[profile="transform:JSONPATH", function="$.Shutter1.Tilt"]}

Thanks rossko57 and Udo – it’s working now. :grin: