0

Get data from Retrofit Response which contain String msg and JsonObject and JsonArray

server Response{
        "msg": "code is valid",
        "productInfo": {
            "name": "AC",
            "description": "Product AC",
            "companyName": "MITSUBISHI",
            "brandName": "MITSUBISHI",
            "batchNumber": "123131131",
            "serialNumber": "12132133232222",
            "manufactureDate": "2019-10-11T09:47:33.425Z",
            "expireDate": "2019-10-11T09:47:33.425Z",
            "otherAttributes": [
                {
                    "fieldName": "power",
                    "fieldType": "electricity",
                    "fieldValue": "1200W"
                }, ]}}
Shreeya Chhatrala
  • 1,441
  • 18
  • 33

0 Answers0