Hi, Need Help regarding Datasnap Jason method

Hi, Need Help regarding Datasnap Jason method

I have generated in following format:

{
"result":[{"ResCode":"100","ResMsg":"Success","Response":{"EmpNo":"010003","Salary":200000}}]
}

But need to generate in following format:
{
"ResCode":"100","ResMsg":"Success",
"result":[{"EmpNo ":"010003","Salary ":"200000"}]
}

How to generate it? Thanking you all in advance...

Comments

  1. Nirav Kaku when i used DS there were some things i could not change. I could not, for example, respond to OPTIONS method. Some auto-generated files had the wrong codepage and i could not do anything about that either (short of adding steps to the compile-test cycle). Lot's of "hoops" to do thing simplistic.

    RTC is RealThinClient.
    realthinclient.com - RealThinClient | Reliable HTTP(S) components for Delphi

    Also, i now have Professional. For using DS i had to have Enterprise if i recall correctly.

    ReplyDelete
  2. Marcio Eduardo Reis Thank you so much. It worked. Regards.

    ReplyDelete

Post a Comment