konklone/json — pull request #48 by pedrox (2014-11-05 13:58:10+00:00)
Title: Improve the primary array selection using breadth-first search

Many JSON objects have the primary array some levels deep down the structure. The current algorithm only looks in the first level. This new one takes the first in a breadth-first search.

Some test data: https://gdata.youtube.com/feeds/api/videos?v=2&alt=jsonc