0

I must receive the following JSON from request

{
  "class":"classname"
  "method":"methodName",
  "args": {
    "arg1Name":"arg1Value",
    "arg2Name":"arg2Value"
    "arg3Name":"arg3Value"
    "arg4Name":"arg4Value"
  }
}

I need to parse this json and create an instance of specified class and call specified method with args. What solution can you suggest?

Dan W
  • 5,718
  • 4
  • 33
  • 44

0 Answers0