How to convert Text output returned by Execute Generative AI skill smart service into Map/Dictionary

Certified Associate Developer

Hi Experts,

Need your help to resolve my issue.

I want to convert my Text data returned by the Execute Generative AI skill smart service into map/ CDT which afterwards I want to map into a CDT.

Here is the text which I am trying to convert into map/dictionary, please help me how to achieve that: 


{
"IPAddress": "2001:111.111.11101",
"StartDate": "2024/05/14",
"StartTime": "06:52:24",
"StartTimezone": "UTC",
"EndDate": "2024/05/14",
"EndTime": "06:54:03",
"EndTimezone": "UTC"
}&
{
"IPAddress": "2001:222.202.2222",
"StartDate": "2024/05/12",
"StartTime": "16:30:55",
"StartTimezone": "UTC",
"EndDate": "2024/05/12",
"EndTime": "16:30:55",
"EndTimezone": "UTC"
}&
{
"IPAddress": "2001:22ab.111e4b.333",
"StartDate": "2024/05/11",
"StartTime": "17:28:06",
"StartTimezone": "UTC",
"EndDate": "2024/05/11",
"EndTime": "17:28:06",
"EndTimezone": "UTC"
}&
{
"IPAddress": "2001:22ac.111e4f.313",
"StartDate": "2024/05/11",
"StartTime": "02:23:51",
"StartTimezone": "UTC",
"EndDate": "2024/05/11",
"EndTime": "02:23:51",
"EndTimezone": "UTC",
}&
{
"IPAddress": "2001:33abc.122.25.6af",
"StartDate": "2024/05/05",
"StartTime": "20:05:38",
"StartTimezone": "UTC",
"EndDate": "2024/05/05",
"EndTime": "20:05:38",
"EndTimezone": "UTC"
}

Thnak you!

  Discussion posts and replies are publicly visible