Is there a way to transfer an object into a nested object contained within the outer object?
{ criteria:
{ provider: 2,
providerName: 'CLX_gw0',
mcc: null,
mnc: null,
dial_code: null,
active: 1 },
page: 1,
pageSize: 50 }
The desired format is:
{
provider: 2,
providerName: 'CLX_gw0',
mcc: null,
mnc: null,
dial_code: null,
active: 1,
page: 1,
pageSize: 50
}