Is it possible to make the JSONMaker call exclude view results? It would make it very easy for me to then parse the json data (albumData) without having to exclude all view results when doing a search of the data.
jm = new JSONMaker(engine);
albumData = jm.getTreeAsString(rootFolder);
A single album object appears in the albumData multiple times when views are used in a project.
I'll add a filtering mechanism for v38.2. You can try it already by getting the latest beta core file.
Usage:
jm = new JSONMaker(engine)
jm.setFilter(JSONMaker.NO_VIEWS_FILTER);
s = jm.getTreeAsString(currentFolder)
Pass null to reset the filter to no filtering. You can pass any object that matches Predicate<AlbumObject> to the filter in order to filter on arbitrary things.