Github user afs commented on a diff in the pull request: https://github.com/apache/jena/pull/114#discussion_r184478479 --- Diff: jena-arq/src/main/java/org/apache/jena/query/Query.java --- @@ -515,6 +519,18 @@ public void addHavingCondition(Expr expr) havingExprs.add(expr) ; } + // SELECT JSON + + private Map<String, Object> jsonMapping = new LinkedHashMap<>(); --- End diff -- This can be types as `<String, Node>` (variables are Nodes) private Map<String, Node> jsonMapping = new LinkedHashMap<>(); public void addJsonMapping(String key, Node value) { jsonMapping.put(key, value); } public Map<String, Node> getJsonMapping() { return Collections.unmodifiableMap(jsonMapping); }
---