0

I have a json put as below. can someone help me to deserilase it in apex? without class?

{
            "QueryResult": {
                "ContractInfo": {
                    "ID": "1684409",
                    "Status": "Active",
                    "Segment": "Consumer"
                },
                "SubscriberInfo": {
                    "Status": "Active",
                    "BillingType": "POST",
                    "Name": "VAS  A S",
                    "BSType": "VOICE"
                },
                "SubscriberProducts": [
                    {
                        "Code": "VCAF",
                        "Status": "ACTV",
                        "DisplayName": "Activation Fee Video Calls",
                        "ArabicDisplayName": "gjhghghjg",
                        "Category": "Video",
                        "SubCategory": "Local",
                        "StartDate": "2010-10-20T13:47:26.001",
                        "EndDate": "2020-06-30T23:59:00.001",
                        "ProductFees": {
                            "ProductFee": {
                                "Name": "Installation",
                                "Amount": "0",
                                "RecurrencyType": "Single",
                                "RecurrencyValue": "1"
                            }
                        },
                        "Params": {
                            "Param": {
                                "Name": "AutoRenewFlag",
                                "Value": "OFF"
                            }
                        }
                    },
                    {
                        "Code": "N_VC35-SUBS",
                        "Status": "ACTV",
                        "DisplayName": "KD35 - 5000 Minutes Plus 4G_500GB",
                        "ArabicDisplayName": "5000 Minutes",
                        "Category": "Bundle",
                        "SubCategory": "Voice,SMS,MMS,Data",
                        "Classification": "SUBS",
                        "StartDate": "2017-05-31T23:59:59.001",
                        "EndDate": "2020-06-30T23:59:00.001",
                        "ProductSpecs": {
                            "ProductSpec": [
                                {
                                    "Name": "Voice",
                                    "Value": "5000",
                                    "Measure": "Min"
                                },
                                {
                                    "Name": "SMS",
                                    "Value": "1000",
                                    "Measure": "Unit"
                                },
                                {
                                    "Name": "MMS",
                                    "Value": "1000",
                                    "Measure": "Unit"
                                },
                                {
                                    "Name": "Data",
                                    "Value": "500",
                                    "Measure": "GB"
                                }
                            ]
                        },
                        "ProductFees": {
                            "ProductFee": {
                                "Name": "Rental",
                                "Amount": "35",
                                "RecurrencyType": "Month",
                                "RecurrencyValue": "1"
                            }
                        },
                        "Params": {
                            "Param": {
                                "Name": "AutoRenewFlag",
                                "Value": "OFF"
                            }
                        }
                    },
                    {
                        "Code": "N_VC35-GPRS",
                        "Status": "ACTV",
                        "DisplayName": "KD35 - 5000 Minutes Plus 4G_500GB",
                        "ArabicDisplayName": "5000 Minutes",
                        "Category": "Bundle",
                        "SubCategory": "Voice,SMS,MMS,Data",
                        "Classification": "GPRS",
                        "StartDate": "2017-05-31T23:59:59.001",
                        "EndDate": "2020-06-30T23:59:00.001",
                        "ProductSpecs": {
                            "ProductSpec": [
                                {
                                    "Name": "Voice",
                                    "Value": "5000",
                                    "Measure": "Min"
                                },
                                {
                                    "Name": "SMS",
                                    "Value": "1000",
                                    "Measure": "Unit"
                                },
                                {
                                    "Name": "MMS",
                                    "Value": "1000",
                                    "Measure": "Unit"
                                },
                                {
                                    "Name": "Data",
                                    "Value": "500",
                                    "Measure": "GB"
                                }
                            ]
                        },
                        "ProductFees": {
                            "ProductFee": {
                                "Name": "Rental",
                                "Amount": "35",
                                "RecurrencyType": "Month",
                                "RecurrencyValue": "1"
                            }
                        },
                        "Params": {
                            "Param": {
                                "Name": "AutoRenewFlag",
                                "Value": "OFF"
                            }
                        }
                    },
                    {
                        "Code": "1-SHEFPR002",
                        "Status": "ACTV",
                        "DisplayName": "KD35 ATL Mixed Promotion",
                        "StartDate": "2010-10-20T13:47:26.001",
                        "EndDate": "2020-06-30T23:59:00.001",
                        "ProductFees": {
                            "ProductFee": {
                                "Name": "Installation",
                                "Amount": "0",
                                "RecurrencyType": "Single",
                                "RecurrencyValue": "1"
                            }
                        },
                        "Params": {
                            "Param": {
                                "Name": "AutoRenewFlag",
                                "Value": "OFF"
                            }
                        }
                    },
                    {
                        "Code": "MSMU",
                        "Status": "ACTV",
                        "DisplayName": "MissU Monthly Subscription",
                        "ArabicDisplayName": "MissU - poo",
                        "Category": "VAS",
                        "SubCategory": "MissU",
                        "Classification": "MISSU",
                        "StartDate": "2017-09-27T23:59:59.001",
                        "EndDate": "2020-06-30T23:59:00.001",
                        "ProductFees": {
                            "ProductFee": {
                                "Name": "Rental",
                                "Amount": ".5",
                                "RecurrencyType": "Month",
                                "RecurrencyValue": "1"
                            }
                        },
                        "Params": {
                            "Param": {
                                "Name": "AutoRenewFlag",
                                "Value": "OFF"
                            }
                        }
                    },
                    {
                        "Code": "PK00001",
                        "Status": "ACTV",
                        "DisplayName": "Mobile Services",
                        "StartDate": "2010-10-20T13:47:26.001",
                        "EndDate": "2020-06-30T23:59:00.001",
                        "ProductFees": {
                            "ProductFee": {
                                "Name": "Installation",
                                "Amount": "0",
                                "RecurrencyType": "Single",
                                "RecurrencyValue": "1"
                            }
                        },
                        "Params": {
                            "Param": {
                                "Name": "AutoRenewFlag",
                                "Value": "OFF"
                            }
                        }
                    },
                    {
                        "Code": "MTVARAB",
                        "Status": "ACTV",
                        "DisplayName": "Mobile TV Arabic Package PostPaid",
                        "ArabicDisplayName": "Mobile TV Arabic Package",
                        "Category": "VAS",
                        "SubCategory": "Streaming",
                        "StartDate": "2015-01-08T23:59:59.001",
                        "EndDate": "2020-06-30T23:59:00.001",
                        "ProductFees": {
                            "ProductFee": {
                                "Name": "Rental",
                                "Amount": "3",
                                "RecurrencyType": "Month",
                                "RecurrencyValue": "1"
                            }
                        },
                        "Params": {
                            "Param": {
                                "Name": "AutoRenewFlag",
                                "Value": "OFF"
                            }
                        }
                    },
                    {
                        "Code": "Z00101",
                        "Status": "ACTV",
                        "DisplayName": "Postpaid Mobile Offer",
                        "StartDate": "2010-10-20T13:47:26.001",
                        "EndDate": "2020-06-30T23:59:00.001",
                        "ProductFees": {
                            "ProductFee": {
                                "Name": "Installation",
                                "Amount": "0",
                                "RecurrencyType": "Single",
                                "RecurrencyValue": "1"
                            }
                        },
                        "Params": {
                            "Param": {
                                "Name": "AutoRenewFlag",
                                "Value": "OFF"
                            }
                        }
                    },
                    {
                        "Code": "FGRBT",
                        "Status": "ACTV",
                        "DisplayName": "RBT-SUBSCIPTION FREE",
                        "ArabicDisplayName": "manga",
                        "Category": "VAS",
                        "SubCategory": "RBT",
                        "Classification": "RPT",
                        "StartDate": "2020-05-04T00:00:00.001",
                        "EndDate": "2020-06-30T23:59:00.001",
                        "ProductFees": {
                            "ProductFee": {
                                "Name": "Installation",
                                "Amount": "0",
                                "RecurrencyType": "Single",
                                "RecurrencyValue": "1"
                            }
                        },
                        "Params": {
                            "Param": {
                                "Name": "AutoRenewFlag",
                                "Value": "OFF"
                            }
                        }
                    },
                    {
                        "Code": "1-Q205",
                        "Status": "ACTV",
                        "DisplayName": "SIM",
                        "ArabicDisplayName": "Multi SIM 2/3/4FF USIM Prep",
                        "StartDate": "2010-10-20T13:47:26.001",
                        "EndDate": "2020-06-30T23:59:00.001",
                        "ProductFees": {
                            "ProductFee": {
                                "Name": "Installation",
                                "Amount": "5",
                                "RecurrencyType": "Single",
                                "RecurrencyValue": "1"
                            }
                        },
                        "Params": {
                            "Param": {
                                "Name": "AutoRenewFlag",
                                "Value": "OFF"
                            }
                        }
                    },
                    {
                        "Code": "FG50",
                        "Status": "ACTV",
                        "DisplayName": "Voice Mail Free Activation",
                        "ArabicDisplayName": "vrithi",
                        "Category": "VAS",
                        "SubCategory": "Voice Mail",
                        "Classification": "VOS",
                        "StartDate": "2020-05-14T00:00:00.001",
                        "EndDate": "2020-06-30T23:59:00.001",
                        "ProductFees": {
                            "ProductFee": {
                                "Name": "Rental",
                                "Amount": "0",
                                "RecurrencyType": "Year",
                                "RecurrencyValue": "1"
                            }
                        },
                        "Params": {
                            "Param": {
                                "Name": "AutoRenewFlag",
                                "Value": "OFF"
                            }
                        }
                    },
                    {
                        "Code": "DATASHARE",
                        "Status": "ACTV",
                        "DisplayName": "Internet Sharing service",
                        "ArabicDisplayName": "arabicname",
                        "Classification": "DS",
                        "StartDate": "2017-05-31T23:59:59.001",
                        "EndDate": "2020-06-30T23:59:00.001",
                        "ProductFees": [
                            {
                                "ProductFee": {
                                    "Name": "Installation",
                                    "Amount": "0",
                                    "RecurrencyType": "Single",
                                    "RecurrencyValue": "0"
                                }
                            },
                            {
                                "ProductFee": {
                                    "Name": "Rental",
                                    "Amount": "0",
                                    "RecurrencyType": "None",
                                    "RecurrencyValue": "0"
                                }
                            }
                        ],
                        "Params": {
                            "Param": {
                                "Name": "AutoRenewFlag",
                                "Value": "NA"
                            }
                        }
                    }
                ]
            }
        }

Browse other questions tagged or ask your own question.