โ09-02-2019 12:55 PM
Hi, Iโm trying to split the value โConfigValueโ string in the following JSON :
[
{
PipelineID: 25
PipelineName: โCashValue_Mainโ
ConfigName:โCashValueDatesโ
ConfigValue:โ1218, 1217โ
}
]
Into a JSON document like this:
{
โYearEndโ: 1218
}
{
โYearEndโ: 1217*
}
Whatโs the best process that I can use to do this? JSON Splitter or Mapper, or a combination of both?
Any assistance would be greatly appreciated.
Thanks!
Solved! Go to Solution.
โ09-03-2019 02:42 AM
This is fairly easy, first use a mapper to split your ConfigValue field: $ConfigValue.split(โ,โ), and then use the JSONSplitter to split out into multiple documents:
I attach an export of the pipeline.
SplitField_2019_09_03.slp (8.1 KB)
โ09-03-2019 02:42 AM
This is fairly easy, first use a mapper to split your ConfigValue field: $ConfigValue.split(โ,โ), and then use the JSONSplitter to split out into multiple documents:
I attach an export of the pipeline.
SplitField_2019_09_03.slp (8.1 KB)
โ09-03-2019 04:56 AM
Thanks alot @cstewart ! It works as I needed!