Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Deserialize JSON into Internal Table

moya_roland
Explorer
0 Kudos

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" }
1 ACCEPTED SOLUTION
1 REPLY 1