You need to sign in to do that
Don't have an account?
sandeep reddy 37
about json can u tell me any one
i write programe about transforing data from json to class the code is
public class jsonclass {
public string result{set;get;}
public jsonclass(){
string jso ='{"name":"suriprakesh","age":20,"salary":20000}';
map<string,list<string>> m = (map<string,list<string>>)JSON.deserializeuntyped(jso);
}
}
its getting run time error that is just tell me please
public class jsonclass {
public string result{set;get;}
public jsonclass(){
string jso ='{"name":"suriprakesh","age":20,"salary":20000}';
map<string,list<string>> m = (map<string,list<string>>)JSON.deserializeuntyped(jso);
}
}
its getting run time error that is just tell me please
1) https://www.adminbooster.com/tool/json2apex
Please try below code
Please try below code.
For more information on REST class please check below post
1) http://amitsalesforce.blogspot.in/search/label/Rest%20API
Let us know if this will help you
Thanks
Amit Chaudhary