Most efficient way to obtain data from a list of objects?
<p>I have a list of objects like this (created from PHP then json encoded):</p>

<pre><code>{"10":{"10":["4","7","2","2","0","32"],"11":["5","22","1","1","0","0"]}}

translated:

{"X":{"Y":["unique_id","data","data","data","data","data"],"Y":["unique_id","data","data","data","data","data"]
</code></pre>

<p>But im trying to find a way to obtain the X:Y by looking for the unique_id lets say it was 4.</p>

<p>What would be the most efficient way to do this ?</p>
