My Oracle Support Banner

Problem converting XML to JSON with null values (Doc ID 2764402.1)

Last updated on JANUARY 08, 2024

Applies to:

Oracle SOA Suite - Version to [Release 12c]
Information in this document applies to any platform.


REST Adapter: Problem converting XML to JSON which happened the below issue

1- the empty element is sent as null value in the json payload but it's expected to be empty string and the empty list not sent is not as []
current :
< Element_1/> => { "Element_1":null }

< Element_1/> => { "Element_1":"" }


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.