Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have issues with converting delimited values to JSON array. can some one help me with the below requirements.
Requirement 1:
source from mysql DB:
id
123,456,7458,4566897,32132164
I need JSON output like below.
"ID":["123","456","7458","4566897","32132164"]
Requirement 2:
source data
work email Alias
12345@gmail.com xyz@gmail.com,abc@gmail.com,cyd@gmail.com
i need output like below
"email" : [ {"type" : "workemail", "value" : "12345@gmail.com" }, {"type" : "alias", "value" : "xyz@gmail.com" }, {"type" : "alias", "value" : "abc@gmail.com" }, {"type" : "alias", "value" : "cyd@gmail.com" }].
Can some one help me with the above seniors. Appreciate your help.
Thanks,
Thanks @uganesh . Can you please help me for the below example.
Requirement 1:
source from mysql DB:
id
123,456,7458,4566897,32132164
I need JSON output like below.
"ID":["123","456","7458","4566897","32132164"]