I have following configuration:
<target>
<layout xsi:type="JsonLayout">
<attribute name="Foo" layout="${event-properties:item=Foo:@}" />
</layout>
</target>
This is the resulting doc pushed to output:
{
"Foo": "{ \"Nested\": \"Json\" } "
}
Instead I would like following result:
{
"Foo": { "Nested": "Json" }
}
However I want to render just Foo property as json, not all event-properties. Nested json layout does not have source. How to get around that?