2022.2

Table Of Contents
Note: AJsonPathexpressioncandefinemorethanoneitem(forexample:.*returnsany-
thinginthecurrentelement).Ifmorethanoneitemisreturned,theExtractstepwillkeep
anarrayofallreturneditems.
ThefullJsonPathtoanelementisdisplayedatthebottomleftofthewindowwhenyouselectit.
Tocopythepath,right-clickitandselectCopy.
l
Use selection:Clicktousethevalueofthecurrentdataselectionfortheextraction.
Note: IfakeyinaJSONfilehasanamethatlookslikeafunction(e.g."TLIST(A1)"),then
theExtractstephastouseaJsonPathwithbracketnotationinsteadofthedefaultdotnota-
tion.Forinformationaboutthebracketnotationsee
https://goessner.net/articles/JsonPath/.
l
Post Function:EnteraJavaScriptexpressiontoberunaftertheextraction.For
examplereplace("-","")wouldreplaceasingledashcharacterinsidetheextractedstring.
l
Use JavaScript Editor:Clicktodisplaythe"boundaries"onpage370dialog.
l
Trim:Selecttotrimemptycharactersatthebeginningortheendofthefield.
Data Format
Formatsettingscanbedefinedinthreeplaces:intheuserpreferences("DataMapperpreferences"on
page786),thecurrentdatamappingconfiguration("Dataformatsettings"onpage226)andperfield
viatheStepproperties.
Anyformatsettingsspecifiedperfieldarealwaysused,regardlessoftheuserpreferencesordata
sourcesettings.
Note: DataformatsettingstelltheDataMapperhowtoreadandparsedatafrom the data
source.Theydon'tdeterminehowthesedataareformattedintheDataModelorinatemplate.In
theDataModel,dataareconvertedtothenativedatatype.Dates,forexample,areconvertedto
aDateTimeobject.HowtheyaredisplayedintheDataModeldependsonthepreferences(see
"DefaultFormat"onpage786).
l
Negative Sign Before:Anyvalueinanumericfieldthathasa"-"signisinterpretedasaneg-
ativevalue.
l
Decimal Separator:Setthedecimalseparatorforanumericalvalue.
l
Thousand Separator:Setthethousandseparatorforanumericalvalue.
l
Currency Sign:Setthecurrencysignforacurrencyvalue.
l
Treat empty as 0:Anumericalemptyvalueistreatedasa0value.
Page 331