Layer7 API Management

  • 1.  converting xml to json

    Posted Dec 19, 2017 12:53 AM

    Is there any way to convert a xml to json 



  • 2.  Re: converting xml to json
    Best Answer

    Broadcom Employee
    Posted Dec 19, 2017 08:44 AM

    Hi Pavan,

     

    The add/remove XML elements assertion will remove the entire tag and contents (child tags).

    So in this case if you remove <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> you will remove everything from it. You can confirm this by dumping the context variable from the add/remove assertion.

     

    Regards,

    Joe