@Override public JsonRecord map(int index, ResultSet r, StatementContext ctx) throws SQLException { return JsonRecord.of(r.getString("path"), r.getString("value"), r.getString("ovalue"), null); } }
@Override public JsonRecord map(int index, ResultSet r, StatementContext ctx) throws SQLException { return JsonRecord.of(r.getString("path"), r.getString("value"), r.getInt("kind"), null); } }
currentPath = path + toArrayIndexPath(arrayIndex) + "/"; consumer.accept(JsonRecord.of(currentPath, String.valueOf(NULL_VALUE_PREFIX), "null", indexFieldValue(indexes, currentPath))); if( inArray ) { arrayIndex++; consumer.accept(JsonRecord.of(currentPath, value, ovalue, indexFieldValue(indexes, currentPath))); if( inArray ) { arrayIndex++;
currentPath = path + toArrayIndexPath(arrayIndex) + "/"; consumer.accept(JsonRecord.of(currentPath, "", nextToken.id(), indexFieldValue(indexes, currentPath))); if( inArray ) { arrayIndex++; currentPath = path + toArrayIndexPath(arrayIndex) + "/"; consumer.accept(JsonRecord.of(currentPath, jp.getValueAsString(), nextToken.id(), indexFieldValue(indexes, currentPath))); if( inArray ) { arrayIndex++;