function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
suyogya jain 6suyogya jain 6 

URGENT!! I want to parse Given JSON please help

{
   "Record": [
     {
      "Unique_ID": "",
      "Type_Of_Cert_Profile": "",
      "Delivery": "",
      "Delivery_Item_No": "",
      "Split_Del_Item_Number": "",
      "Sales_Org": "",
      "Distribution_Channel": "",
      "Ship_To_Party": "",
      "Delivery_Date": "",
      "Posting_Date_Doc": "",
      "Material_No": "",
      "Ship_Point": "",
      "Mother_Batch_No": "",
      "Child_Batch_No": "",
      "Plant": "",
      "Referenced_Doc_No": "",
      "Vendor_Batch_Number": "",
      "Originating_Doc": "",
      "Purchase_Order": "",
      "Purchase_Order_Item": "",
      "Sales_Order": "",
      "Sales_Order_Item": "",
      "Creation_Date": "",
      "Creation_Time": "",
      "Sled": "",
      "Manufacturing_Date": "",
      "Error_Msg": "",
      "Attachment": [
         {
            "Name": "",
            "Content": "",
            "Type": ""
         },
         {
            "Name": "",
            "Content": "",
            "Type": ""
         }
      ]
   }
   ]
}
ANUTEJANUTEJ (Salesforce Developers) 
Hi Suyogya,

Have you tried checking the below documentation that has an implementation of json parsing:

>>https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_json_jsonparser.htm

>> https://www.biswajeetsamal.com/blog/json-response-parsing-in-salesforce-apex/#:~:text=We%20can%20use%20the%20JSONParser,as%20a%20web%20service%20callout.

Also, you could use this for help: https://json2apex.herokuapp.com/

In case if this comes handy can you please choose this as best answer.

Regards,
Anutej
ken berryken berry
let us check how to take Argos Customer survey and win a £500 gift card successfully. You need to check Argos Customer Satisfaction Survey Rules & Requirements to get the prize successfully.

Argos Customer Satisfaction Survey (https://surveyexpert.info/tell-argos-survey/)
ANUTEJANUTEJ (Salesforce Developers) 
Did the above way help in parsing the response you got??

let me know