question: void addSplit ( String splitPath ) { String [ ] splits = splitPath . split ( "\\|" ) ; for ( String split : splits ) { split = split . trim ( ) ; if ( split . startsWith ( "//" ) ) throw new RuntimeException ( "split cannot start with '//': " + split ) ; if ( split . length ( ) == 0 ) continue ; addField ( split , split , false , true ) ; } }
target:  a '|' separated list of path expressions which define sub sections of the JSON stream that are to be emitted as separate records. It is possible to have multiple levels of split one for parent and one for child each child record (or a list of records) will be emitted as a part of the parent record with null as the key