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
When converting XML to JSON using the xmldata:toJson() function, it returns empty strings for values of fields where the attribute xsi:nil="true" is present. These values should be null.
daneshk
changed the title
xsi:nil Attribute is not Supported in the xmldata Module
xsi:nil Attribute is not supported in the xmldata Module
Dec 11, 2024
Description
When converting XML to JSON using the xmldata:toJson() function, it returns empty strings for values of fields where the attribute xsi:nil="true" is present. These values should be null.
Steps to Reproduce
Consider the following Ballerina code:
Expected output:
Actual output:
Reference: https://github.com/wso2-enterprise/internal-support-ballerina/issues/854
Version
Latest
Environment Details (with versions)
No response
The text was updated successfully, but these errors were encountered: