Skip to Content

ABAP Deserialize JSON into Internal Table

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" }
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jun 23, 2017 at 04:03 AM
    Add comment
    10|10000 characters needed characters exceeded