Skip to Content
0
Jul 31, 2023 at 10:45 AM

Add a SQ. Bracket

72 Views Last edit Jul 31, 2023 at 10:48 AM 3 rev

Hi my input payload has a line as "requisition":, i want to add a SQ.bracket after requisition as below, please help

input:

{<br>    "requisitionProcess": {<br>        "requisition": <br> {<br>            "reqNo": <br>            "shipNo": <br>            "shipCode": <br>            "reqId": "",<br>            "type": "Material",<br>            "externalID": ,<br>            "error": "",<br>            "status": "",<br>            "statusDate": "",<br>            "comments": ""<br>        }<br>}<br>}

and i want the output by adding Sq.Bracket after requisition and at the end after { as below

Desired Output:

{<br>    "requisitionProcess": {<br>        "requisition": [<br> {<br>            "reqNo": <br>            "shipNo": <br>            "shipCode": <br>            "reqId": "",<br>            "type": "Material",<br>            "externalID": <br>            "error": "",<br>            "status": "",<br>            "statusDate": "",<br>            "comments": ""<br>        }<br>]    <br>}<br>}

Please help how can i do it