3

I need to return list of json paths using:

Configuration conf = Configuration.builder()
   .options(Option.AS_PATH_LIST).build();
List<String> pathList = using(conf).parse(json).read("$..author");

By default all paths will be in bracket-notation:

  "$['store']['book'][0]['author'],
   $['store']['book'][1]['author']"

Is it possible to change it to dot-notation?

0 Answers0