You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue here is that the JSON structure is being interpreted in a way that creates multiple elements instead of grouping all elements under a single parent. To achieve the desired XML output, you need to adjust the JSON structure or configure the XML builder to handle the grouping correctly.
Solution
You can achieve the desired output by ensuring that the Attributes key in your JSON is treated as a single parent element containing multiple Attribute child elements. Here's how you can do it:
Adjusted JSON Input
Modify your JSON structure slightly to ensure that all Attribute elements are grouped under a single Attributes element:
Discussed in #552
Originally posted by Effodero March 1, 2023
I have the following JSON
and trying to produce this output
I've tried different settings, formatted JSON in couple of different ways, but keep getting
I need to format the "Attributes" section as per the first snippet. Is this possible? Is there a specific way to prefix the JSON properties?
The text was updated successfully, but these errors were encountered: