06-22-2017 10:46 PM
Good morning gentlemen,
Today my encounter consuming a service whose answers are in JSON format and in one of the objects contained in that JSON brings a great JSON array with the information I need, the question could be how to deserialize and insert into an inner table That JSON?
Unfortunately my resources are limited and I do not have the cl_TREX_JSON_DESERIALIZER class, they know of some other way to do this.
Annex the JSON:
{ "allowed_methods": "GET, PUT, POST, DELETE", "employees": [ { "employee": "2007", "firstName": "BELKIS", "lastName": "TORRES" }, { "employee": "2016", "firstName": "NULCA", "lastName": "VIALET" }, { "employee": "2023", "firstName": "QUIRRS","lastName": "RODRIGUEZ" }, { "employee": "2027", "firstName": "MARIA", "lastName": "NUNEZ" }, { "employee": "2033", "firstName": "NOEMI", "lastName": "RODRIGUEZ" } ], "status": 200, "status_msg": "OK" }
06-23-2017 5:03 AM
06-23-2017 5:03 AM