Hello @jan!
When converting XML to json with the XML node and setting Attribute key to let’s say $
the setting is not honored.
With this XML
<?xml version="1.0" encoding="utf-8"?>
<ORDERS05>
<IDOC BEGIN="1">
<EDI_DC40 SEGMENT="1">
<TABNAM>EDI_DC40</TABNAM>
</EDI_DC40>
</IDOC>
</ORDERS05>
I would expetc the following JSON
[
{
"ORDERS05": {
"IDOC": {
"$BEGIN": "1",
"EDI_DC40": {
"$SEGMENT": "1",
"TABNAM": "EDI_DC40"
}
}
}
}
]
But it returns this:
[
{
"ORDERS05": {
"IDOC": {
"BEGIN": "1",
"EDI_DC40": {
"SEGMENT": "1",
"TABNAM": "EDI_DC40"
}
}
}
}
]
Or is this not the intended usage of this option? Is this purely for JSON-To-XML where $key would become an attribute?
Sample workflow:
Regads Sebastian