Service Virtualization

 View Only
  • 1.  Convert Database Result to JSON format

    Posted Oct 29, 2020 08:54 AM
    Edited by Kumar Oct 29, 2020 05:47 PM
    Hi,

    I'm new to Service Virtualization. I want to get the Database result as JSON instead XML. Can someone guide or help me on this ? Thanks in Advance.


  • 2.  RE: Convert Database Result to JSON format

    Posted Oct 29, 2020 11:55 PM
    Hi Kumar,

    By default the jdbc response could be extracted in XML only. If you want to convert the same in json, you have to use scripting for the same.

    Thanks

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------