diff --git a/scripts/SyncEditorLayerIndex.java b/scripts/SyncEditorLayerIndex.java index 38c88fb634b..6c2b4a324a0 100644 --- a/scripts/SyncEditorLayerIndex.java +++ b/scripts/SyncEditorLayerIndex.java @@ -398,7 +398,7 @@ void loadELIUsers() throws IOException { } myprintln("*** Loaded "+idEntries.size()+" entries (iD). ***"); try (JsonReader jr = Json.createReader(Files.newBufferedReader(Paths.get(rapidInputFile), UTF_8))) { - rapidEntries = jr.readArray(); + rapidEntries = jr.readObject().getJsonArray("imagery"); } for (JsonValue e : rapidEntries) { String url = getUrlStripped(e);