Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public String short_description {get;set;} //Can't read email
- public String sys_id {get;set;} //9c573169c611228700193229fff72400
- public String incident_state {get;set;} //7
- public String urgency {get;set;} //1
- public String impact {get;set;} //1
- public String active {get;set;} //false
- String deserlize = '{"result":[{"short_description":"Cant read email","sys_id":"9c573169c611228700193229fff72400","incident_state":"7","urgency":"1","impact":"1","active":"false"}]}';
- ResponseResult theresult = (ResponseResult)JSON.deserialize(deserlize, ResponseResult.class);
- System.debug('result' + theresult);
- public class ResponseResult
- {
- public ResponseResult()
- {
- result = new List<Deserialization>();
- }
- public List<Deserialization> result;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement