You need to sign in to do that
Don't have an account?
suyogya 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": ""
}
]
}
]
}
"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": ""
}
]
}
]
}
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
Argos Customer Satisfaction Survey (https://surveyexpert.info/tell-argos-survey/)
let me know