Quantcast
Viewing all articles
Browse latest Browse all 2895

Re: REST Adapter: Problem converting XML containing empty arrays to JSON

Hi Nisar:   

     When the internal table in RFC return is empty, the part of XML will be as below:

     <ET_LIST>

          </item>

     <ET_LIST>

 

     Then the converted result will be:

     "ET_LIST": {

          "item": [""]

     }

    

     And our expected result should be:

     "ET_LIST": {

          "item": []

     }


     I don't know how to avoid "" appear.


Viewing all articles
Browse latest Browse all 2895

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>