2022.2

Table Of Contents
Tip: YoumayedittheJsonPathintheJsonPath Collectionfieldtoinclude or exclude
elementsfromtheloop.ForanoverviewoftheJsonPathsyntax,seehttps://-
github.com/json-path/jsonpath.
3. (Optional.)AddanemptydetailtableviatheDataModelpane:right-clicktheDataModeland
selectAddatable.Givethedetailtableaname.
4. SelecttheRepeatstepontheStepspane.
5. Extractthedata:insidethefirstoftherepeatingelements,selectthedatathatyouwantto
extract.Thenright-clicktheselectednodesandselectAdd Extraction,ordrag&dropinthe
DataModel.
Whenyoudrag&dropdataonthenameofadetailtableintheDataModelpane,thedataare
addedtothatdetailtable.
DroppingthedatasomewhereelseontheDataModelpanecreatesanewdetailtable,witha
defaultnamethatyoucanchangelateron(see"Renamingadetailtable"onpage298).
ThenewExtract stepwillbelocatedintheRepeatstep.
About JsonPath
TheDataMappermovesthroughJSONfilesusingJsonPath,apath-likesyntaxtoidentifyandnavigate
elementsinaJSONdocument.ForanoverviewoftheJsonPathsyntax,seehttps://github.com/json-
path/jsonpath.
IntheDataMappertheJsonPathcanbeabsolute(startwith$whichistheroot)orrelativetothecurrent
position(startwith.whichisthecurrentelement).
AJsonPathcanberelativeorabsolute.Note,however,thatwitharelativeJsonPathgoinguptoapar-
entelementisnotpossible.
Tip: ThefullJsonPathtoanelementisdisplayedatthebottomleftofthewindowwhenyou
selectit.Tocopythepath,right-clickitandselectCopy.
Note: IfakeyinaJSONfilehasanamethatlookslikeafunction(e.g."TLIST(A1)"),thenthe
ExtractstephastouseaJsonPathwithbracketnotationinsteadofthedefaultdotnotation.For
informationaboutthebracketnotationseehttps://goessner.net/articles/JsonPath/.
From a Text or a PDF file
InaPDForTextfile,transactionaldataappearsonmultiplelinesandcanbespreadovermultiple
pages.
Page 241