Deserialize an anonymous JSON array?
<p>I got an anonymous array which I want to deserialize, here the example of the first array object</p>

<pre><code>[
  { "time":"08:55:54",
    "date":"2016-05-27",
    "timestamp":1464332154807,
    "level":3,
    "message":"registerResourcePath ('', '/sap/bc/ui5_ui5/ui2/ushell/resources/')",
    "details":"","component":"sap.ui.ModuleSystem"},
  {"time":"08:55:54","date":"2016-05-27","timestamp":1464332154808,"level":3,"message":"URL prefixes set to:","details":"","component":"sap.ui.ModuleSystem"},
  {"time":"08:55:54","date":"2016-05-27","timestamp":1464332154808,"level":3,"message":"  (default) : /sap/bc/ui5_ui5/ui2/ushell/resources/","details":"","component":"sap.ui.ModuleSystem"}
]
</code></pre>

<p>I tried deserializing using <code>CL_TREX_JSON_SERIALIZER</code>, but it is corrupt and does not work with my JSON, <a href="https://stackoverflow.com/questions/16154293/how-to-encode-json-in-abap">here is why</a></p>

<p>Then I tried <code>/UI2/CL_JSON</code>, but it needs a "structure" that perfectly fits the object given by the JSON Object. "Structure" means in my case an internal table  of objects with the attributes <code>time, date, timestamp, level, message</code>and<code>details</code>. And there was the problem: it does not properly handle references and uses class description to describe the field assigned to the field-symbol. Since I can not have a list of objects but only a list of references to objects that solution also doesn't works.</p>

<p>As a third attempt I tried with the <code>CALL TRANSFORMATION</code> as described by <a href="https://scn.sap.com/community/abap/blog/2013/01/07/abap-and-json" rel="nofollow noreferrer">Horst Keller</a>, but with this method I was not able to read in an anonymous array, <a href="https://scn.sap.com/community/abap/blog/2013/04/15/abap-2-json-and-json-2-abap-with-st" rel="nofollow noreferrer">and here is why</a></p>

<p>My major points:</p>

<ul>
<li>I do not want to change the JSON, since that is what I get from <code>sap.ui.log</code></li>
<li>I prefere to use built-in functionality and not a thirdparty framework</li>
</ul>