NewPipeExtractor icon indicating copy to clipboard operation
NewPipeExtractor copied to clipboard

Support for arrays in JsonUtils path

Open FireMasterK opened this issue 4 years ago • 0 comments
trafficstars

Currently, without this:

JsonUtils.getArray(JsonUtils.getArray(initialData, "contents.tabbedSearchResultsRenderer.tabs").getObject(0), "tabRenderer.content.sectionListRenderer.contents").getObject(0).getObject("itemSectionRenderer");

With array support we could have:

JsonUtils.getObject(initialData, "contents.tabbedSearchResultsRenderer.tabs[0].tabRenderer.content.sectionListRenderer.contents[0].itemSectionRenderer");

FireMasterK avatar Aug 02 '21 10:08 FireMasterK