2 Replies Latest reply on Nov 14, 2017 4:27 PM by Shiloh Jordan

    Can my REST procedure create JSON response instead of XML?

    Shiloh Jordan Novice

      Hi,

      I have a REST virtual procedure inside my view model that returns XML - shown below:

      Is there a way to create JSON transformation instead of XML?

       

      When testing my REST war, the response can be returned as XML or JSON, but my JSON does not produce literal values. Type information in JSON should be "21" = string vs 21=numeric.  However, my response has double quotes around both string and numeric.  How can I create JSON response in REST procedure?

      All help is appreciated

       

      Thanks