AnsweredAssumed Answered

How can I convert Array to object json profile

Question asked by himabindu.padagandla277305 on Aug 30, 2018

Hi all,

Currently I am getting data as :

[
{
"GoldenRecordId" : "0zACSD",
"SchemaVersion" : "AsdF",
"Code" : "XSAC",
"LongName" : "NamesDataprocessdssddgdx",
"IsParent" : false,
"Roles" : [
{
"OperatingEntitySettings" : [
{
"ConsumerSystems" : [
{
"Entry1" : "SDF",
"Entry2" : "XDCA",
"Entry3" : "XSADF"
}
]
}
]
}
],
"Email" : "DRFT015@tet.com",
"WebAddress" : "www.test.com",
"IsDeleted" : false,
"CreatedDate" : "2018-08-08 11:57:55",
"ModifiedDate" : "2018-08-28 08:13:51",
"CreatedBy" : "MDT",
"ModifiedBy" : "MDT"
}
]

But i need output as:

{
"GoldenRecordId" : "0zACSD",
"SchemaVersion" : "AsdF",
"Code" : "XSAC",
"LongName" : "NamesDataprocessdssddgdx",
"IsParent" : false,
"Roles" : [
{
"OperatingEntitySettings" : [
{
"ConsumerSystems" : [
{
"Entry1" : "SDF",
"Entry2" : "XDCA",
"Entry3" : "XSADF"
}
]
}
]
}
],
"Email" : "DRFT015@tet.com",
"WebAddress" : "www.test.com",
"IsDeleted" : false,
"CreatedDate" : "2018-08-08 11:57:55",
"ModifiedDate" : "2018-08-28 08:13:51",
"CreatedBy" : "MDT",
"ModifiedBy" : "MDT"
}

 

without using any profile,I need output.Could you please help me on it.

Outcomes