[BZ#705924] Unexpected behaviour of * selector
Submitted by Jacobo Aragunde Pérez <<jar..@..com>>
Assigned to json-glib-maint@gnome.bugs
Link to original bug (#705924)
Description
Created attachment 251523 JSON test data
Take this JSON example:
{ "test-root": { "first-child-object":[ {"grandchild": 1}, {"grandchild": 2} ], "second-child-object": 0 } }
Applying the selector $['test-root'][''][] returns three elements, the last of them empty. The reference implementation returns only two elements.
The test code attached to #702756 can be used to check this bug too, using the attached json file.