7 Replies Latest reply on Jan 4, 2016 3:06 AM by levi lv

    how the Rest War can return json

    levi lv Newbie

      hi everyone,

           I create the Rest service Through VDB and it output as xml,How can I  output an json?  here is demo for rest War settings:

       

       

      QQ截图20151228151413.png

       

      the rest url  and result  as fllows:

      http://localhost:8080/RestPerson/PDSViewMdl/get/03870005

       

      <v_person>

       

      <v_person>

       

       

      <person_id>03870005</person_id>

       

      <name>bob</name>

      <mobile>11111111</mobile>

      </v_person>

      </v_person>


      thanks!