代码之家  ›  专栏  ›  技术社区  ›  Makenna Sophia Herl

来自Walmart JSON Open API Feed的Python中的JSON格式问题

  •  0
  • Makenna Sophia Herl  · 技术社区  · 6 年前

    我在获取pythonjson模块来解析walmart openapi生成的JSON信息时遇到了一些问题。

    我可以从项目的url中以字符串形式检索JSON文件,如下所示:

    print(raw_json[0])
    b'{
       "itemId":43090845,
       "parentItemId":43090845,
       "name":"Better Homes and Gardens Owl Memory Foam Bath Rug, 20\\"   x     30\\"",
       "msrp":15.88,
       "salePrice":14.88,
       "upc":"040773068722",
       "categoryPath":"Home/Bath/Bath Rugs & Mats",
       "shortDescription":"Pamper your feet with this Memory Foam bath mat     from Mohawk Home. All synthetic textiles enable it to stand up to moisture.     Slip-resistant backing makes it extra safe and fast drying. Bath rug is     machine washable.",
       "longDescription":"<br><b>Better Homes and Gardens Owl     Memory Foam Bath Rug, 20" x     30":</b><ul><li>Machine     washable</li><li>Slip-resistant backing</li><li>Fast     drying</li><li>Soft to touch</li><li>Material     Content: Polyester</li><li>Better Homes and Garden bath rugs is     extra safe</li></ul>",
       "brandName":"Better Homes & Gardens",
       "thumbnailImage":"https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=100&    odnWidth=100&odnBg=FFFFFF",
       "mediumImage":"https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF",
       "largeImage":"https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF",
       "productTrackingUrl":"http://linksynergy.walmart.com/fs-    bin/click?id=|LSNID|&offerid=223073.7200&type=14&catid=8&subid=0&hid=7200&    tmpid=1082&RD_PARM1=https%253A%252F%252Fwww.walmart.com%252Fip%252FBetter-    Homes-and-Gardens-Owl-Memory-Foam-Bath-Rug-20-    x-30%252F43090845%253Faffp1%253D3NMsqL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%2526affilsrc%253Dapi",
       "ninetySevenCentShipping":false,
       "standardShipRate":5.99,
       "size":"20\\"   x 30\\"",
       "color":"Brown",
       "marketplace":false,
       "shipToStore":true,
       "freeShipToStore":true,
       "modelNumber":"BH15-005-599-01",
       "productUrl":"http://c.affil.walmart.com/t/api01?l=https%3A%2F    %2Fwww.walmart.com%2Fip%2FBetter-Homes-and-Gardens-Owl-Memory-Foam-Bath-    Rug-20-x-30%2F43090845%3Faffp1%3D3NMsqL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%26affilsrc%3Dapi%26veh%3Daff%26wmlspartner%3Dreadonlya    pi",
       "customerRating":"4.4",
       "numReviews":5,
       "customerRatingImage":"http://i2.walmartimages.com/i/CustRating    /4_4.gif",
       "categoryNode":"4044_539095_920259",
       "rhid":"30609",
       "bundle":false,
       "clearance":false,
       "preOrder":false,
       "stock":"NOT_AVAILABLE",
       "attributes":{
          "color":"Brown",
          "ironBankCategory":"Home Decor",
          "size":"20\\"      x 30\\""
       },
       "gender":"Unisex",
       "addToCartUrl":"http://c.affil.walmart.com/t/api01?l=http%3A%2F    %2Faffil.walmart.com%2Fcart%2FaddToCart%3Fitems%3D43090845%7C1%26affp1%3D3NMs    qL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%26affilsrc%3Dapi%26veh%3Daff%26wmlspartner%3Dreadonlya    pi",
       "affiliateAddToCartUrl":"http://linksynergy.walmart.com/fs-    bin/click?id=|LSNID|&offerid=223073.7200&type=14&catid=8&subid=0&hid=7200&    tmpid=1082&    RD_PARM1=http%253A%252F%252Faffil.walmart.com%252Fcart%252FaddToCart%253Fitem    s%253D43090845%257C1%2526affp1%253D3NMsqL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%2526affilsrc%253Dapi",
       "freeShippingOver35Dollars":true,
       "imageEntities":[
          {
             "thumbnailImage":"https://i5.walmartimages.com/asr/2a6072b1-    d71a-4dd4-8cbb-    afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=100&    odnWidth=100&odnBg=FFFFFF",
             "mediumImage":"https://i5.walmartimages.com/asr/2a6072b1-    d71a-4dd4-8cbb-    afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF",
             "largeImage":"https://i5.walmartimages.com/asr/2a6072b1-    d71a-4dd4-8cbb-    afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF",
             "entityType":"SECONDARY"
          },
          {
             "thumbnailImage":"https://i5.walmartimages.com    /asr/d1dbd2e0-8bd1-4e12-ac2b-    bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=100&    odnWidth=100&odnBg=FFFFFF",
             "mediumImage":"https://i5.walmartimages.com    /asr/d1dbd2e0-8bd1-4e12-ac2b-    bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF",
             "largeImage":"https://i5.walmartimages.com    /asr/d1dbd2e0-8bd1-4e12-ac2b-    bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF",
             "entityType":"SECONDARY"
          },
          {
             "thumbnailImage":"https://i5.walmartimages.com    /asr/56639088-94cb-46b3-8a3c-    750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=100&        odnWidth=100&odnBg=FFFFFF",
             "mediumImage":"https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF",
             "largeImage":"https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF",
             "entityType":"PRIMARY"
          }
       ],
       "availableOnline":false
    }'
    

    ->我没有做任何更改API的输出,但是我删除了似乎导入到表中的b“…”部分。

    clean_json = []
    for i in rawJson:
        temp = i[2:-1]
        clean_json.append(temp)
    

    实际上,它只删除了b’…”部分,你可以在这里看到:

    print(clean_json[0])
    {
       "itemId":43090845,
       "parentItemId":43090845,
       "name":"Better Homes and Gardens Owl Memory Foam Bath Rug, 20\\"   x     30\\"",
       "msrp":15.88,
       "salePrice":14.88,
       "upc":"040773068722",
       "categoryPath":"Home/Bath/Bath Rugs & Mats",
       "shortDescription":"Pamper your feet with this Memory Foam bath mat     from Mohawk Home. All synthetic textiles enable it to stand up to moisture.     Slip-resistant backing makes it extra safe and fast drying. Bath rug is     machine washable.",
       "longDescription":"<br><b>Better Homes and Gardens Owl     Memory Foam Bath Rug, 20" x     30":</b><ul><li>Machine     washable</li><li>Slip-resistant backing</li><li>Fast     drying</li><li>Soft to touch</li><li>Material     Content: Polyester</li><li>Better Homes and Garden bath rugs is     extra safe</li></ul>",
       "brandName":"Better Homes & Gardens",
       "thumbnailImage":"https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=100&    odnWidth=100&odnBg=FFFFFF",
       "mediumImage":"https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF",
       "largeImage":"https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF",
       "productTrackingUrl":"http://linksynergy.walmart.com/fs-    bin/click?id=|LSNID|&offerid=223073.7200&type=14&catid=8&subid=0&hid=7200&    tmpid=1082&RD_PARM1=https%253A%252F%252Fwww.walmart.com%252Fip%252FBetter-    Homes-and-Gardens-Owl-Memory-Foam-Bath-Rug-20-    x-30%252F43090845%253Faffp1%253D3NMsqL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%2526affilsrc%253Dapi",
       "ninetySevenCentShipping":false,
       "standardShipRate":5.99,
       "size":"20\\"   x 30\\"",
       "color":"Brown",
       "marketplace":false,
       "shipToStore":true,
       "freeShipToStore":true,
       "modelNumber":"BH15-005-599-01",
       "productUrl":"http://c.affil.walmart.com/t/api01?l=https%3A%2F    %2Fwww.walmart.com%2Fip%2FBetter-Homes-and-Gardens-Owl-Memory-Foam-Bath-    Rug-20-x-30%2F43090845%3Faffp1%3D3NMsqL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%26affilsrc%3Dapi%26veh%3Daff%26wmlspartner%3Dreadonlya    pi",
       "customerRating":"4.4",
       "numReviews":5,
       "customerRatingImage":"http://i2.walmartimages.com/i/CustRating    /4_4.gif",
       "categoryNode":"4044_539095_920259",
       "rhid":"30609",
       "bundle":false,
       "clearance":false,
       "preOrder":false,
       "stock":"NOT_AVAILABLE",
       "attributes":{
          "color":"Brown",
          "ironBankCategory":"Home Decor",
          "size":"20\\"      x 30\\""
       },
       "gender":"Unisex",
       "addToCartUrl":"http://c.affil.walmart.com/t/api01?l=http%3A%2F    %2Faffil.walmart.com%2Fcart%2FaddToCart%3Fitems%3D43090845%7C1%26affp1%3D3NMs    qL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%26affilsrc%3Dapi%26veh%3Daff%26wmlspartner%3Dreadonlya    pi",
       "affiliateAddToCartUrl":"http://linksynergy.walmart.com/fs-    bin/click?id=|LSNID|&offerid=223073.7200&type=14&catid=8&subid=0&hid=7200&    tmpid=1082&    RD_PARM1=http%253A%252F%252Faffil.walmart.com%252Fcart%252FaddToCart%253Fitem    s%253D43090845%257C1%2526affp1%253D3NMsqL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%2526affilsrc%253Dapi",
       "freeShippingOver35Dollars":true,
       "imageEntities":[
          {
             "thumbnailImage":"https://i5.walmartimages.com/asr/2a6072b1-    d71a-4dd4-8cbb-    afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=100&    odnWidth=100&odnBg=FFFFFF",
             "mediumImage":"https://i5.walmartimages.com/asr/2a6072b1-    d71a-4dd4-8cbb-    afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF",
             "largeImage":"https://i5.walmartimages.com/asr/2a6072b1-    d71a-4dd4-8cbb-    afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF",
             "entityType":"SECONDARY"
          },
          {
             "thumbnailImage":"https://i5.walmartimages.com    /asr/d1dbd2e0-8bd1-4e12-ac2b-    bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=100&    odnWidth=100&odnBg=FFFFFF",
             "mediumImage":"https://i5.walmartimages.com    /asr/d1dbd2e0-8bd1-4e12-ac2b-    bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF",
             "largeImage":"https://i5.walmartimages.com    /asr/d1dbd2e0-8bd1-4e12-ac2b-    bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF",
             "entityType":"SECONDARY"
          },
          {
             "thumbnailImage":"https://i5.walmartimages.com    /asr/56639088-94cb-46b3-8a3c-    750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=100&        odnWidth=100&odnBg=FFFFFF",
             "mediumImage":"https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF",
             "largeImage":"https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF",
             "entityType":"PRIMARY"
          }
       ],
       "availableOnline":false
    }
    

    parsed_json = []
    for i in clean_json:
        temp = json.loads(r"""i""")
        parsed_json.append(temp)
    

    然而,我不断得到这个错误:

    raise JSONDecodeError("Expecting value", s, err.value) from None
    
    JSONDecodeError: Expecting value
    

    3 回复  |  直到 6 年前
        1
  •  1
  •   PaulMcG    6 年前

    decode() (如果未给出参数,将使用默认编码):

    json_string = raw_json[0].decode()
    

    现在有一个实际的字符串要传递给 json.loads :

    data = json.loads(json_string)
    

    有了您的数据,我可以使用pprint模块将其打印为:

    import pprint
    pprint.pprint(data)
    

    给:

    {'addToCartUrl': 'http://c.affil.walmart.com/t/api01?l=http%3A%2F    '
                     '%2Faffil.walmart.com%2Fcart%2FaddToCart%3Fitems%3D43090845%7C1%26affp1%3D3NMs    '
                     'qL2_UxcE1HIonNkB-    '
                     'L5B02IQEPQWawum0w3ENkc%26affilsrc%3Dapi%26veh%3Daff%26wmlspartner%3Dreadonlya    '
                     'pi',
     'affiliateAddToCartUrl': 'http://linksynergy.walmart.com/fs-    '
                              'bin/click?id=|LSNID|&offerid=223073.7200&type=14&catid=8&subid=0&hid=7200&    '
                              'tmpid=1082&    '
                              'RD_PARM1=http%253A%252F%252Faffil.walmart.com%252Fcart%252FaddToCart%253Fitem    '
                              's%253D43090845%257C1%2526affp1%253D3NMsqL2_UxcE1HIonNkB-    '
                              'L5B02IQEPQWawum0w3ENkc%2526affilsrc%253Dapi',
     'attributes': {'color': 'Brown',
                    'ironBankCategory': 'Home Decor',
                    'size': '20"      x 30"'},
     'availableOnline': False,
     'brandName': 'Better Homes & Gardens',
     'bundle': False,
     'categoryNode': '4044_539095_920259',
     'categoryPath': 'Home/Bath/Bath Rugs & Mats',
     'clearance': False,
     'color': 'Brown',
     'customerRating': '4.4',
     'customerRatingImage': 'http://i2.walmartimages.com/i/CustRating    /4_4.gif',
     'freeShipToStore': True,
     'freeShippingOver35Dollars': True,
     'gender': 'Unisex',
     'imageEntities': [{'entityType': 'SECONDARY',
                        'largeImage': 'https://i5.walmartimages.com/asr/2a6072b1-    '
                                      'd71a-4dd4-8cbb-    '
                                      'afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=450&    '
                                      'odnWidth=450&odnBg=FFFFFF',
                        'mediumImage': 'https://i5.walmartimages.com/asr/2a6072b1-    '
                                       'd71a-4dd4-8cbb-    '
                                       'afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=180&    '
                                       'odnWidth=180&odnBg=FFFFFF',
                        'thumbnailImage': 'https://i5.walmartimages.com/asr/2a6072b1-    '
                                          'd71a-4dd4-8cbb-    '
                                          'afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=100&    '
                                          'odnWidth=100&odnBg=FFFFFF'},
                       {'entityType': 'SECONDARY',
                        'largeImage': 'https://i5.walmartimages.com    '
                                      '/asr/d1dbd2e0-8bd1-4e12-ac2b-    '
                                      'bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=450&    '
                                      'odnWidth=450&odnBg=FFFFFF',
                        'mediumImage': 'https://i5.walmartimages.com    '
                                       '/asr/d1dbd2e0-8bd1-4e12-ac2b-    '
                                       'bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=180&    '
                                       'odnWidth=180&odnBg=FFFFFF',
                        'thumbnailImage': 'https://i5.walmartimages.com    '
                                          '/asr/d1dbd2e0-8bd1-4e12-ac2b-    '
                                          'bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=100&    '
                                          'odnWidth=100&odnBg=FFFFFF'},
                       {'entityType': 'PRIMARY',
                        'largeImage': 'https://i5.walmartimages.com/asr/56639088-94cb-    '
                                      '46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=450&    '
                                      'odnWidth=450&odnBg=FFFFFF',
                        'mediumImage': 'https://i5.walmartimages.com/asr/56639088-94cb-    '
                                       '46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=180&    '
                                       'odnWidth=180&odnBg=FFFFFF',
                        'thumbnailImage': 'https://i5.walmartimages.com    '
                                          '/asr/56639088-94cb-46b3-8a3c-    '
                                          '750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=100&        '
                                          'odnWidth=100&odnBg=FFFFFF'}],
     'itemId': 43090845,
     'largeImage': 'https://i5.walmartimages.com/asr/56639088-94cb-    '
                   '46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=450&    '
                   'odnWidth=450&odnBg=FFFFFF',
     'longDescription': '<br><b>Better Homes and Gardens Owl     '
                        'Memory Foam Bath Rug, 20" x     '
                        '30":</b><ul><li>Machine     '
                        'washable</li><li>Slip-resistant '
                        'backing</li><li>Fast     '
                        'drying</li><li>Soft to '
                        'touch</li><li>Material     Content: '
                        'Polyester</li><li>Better Homes and Garden '
                        'bath rugs is     extra safe</li></ul>',
     'marketplace': False,
     'mediumImage': 'https://i5.walmartimages.com/asr/56639088-94cb-    '
                    '46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=180&    '
                    'odnWidth=180&odnBg=FFFFFF',
     'modelNumber': 'BH15-005-599-01',
     'msrp': 15.88,
     'name': 'Better Homes and Gardens Owl Memory Foam Bath Rug, 20"   x     30"',
     'ninetySevenCentShipping': False,
     'numReviews': 5,
     'parentItemId': 43090845,
     'preOrder': False,
     'productTrackingUrl': 'http://linksynergy.walmart.com/fs-    '
                           'bin/click?id=|LSNID|&offerid=223073.7200&type=14&catid=8&subid=0&hid=7200&    '
                           'tmpid=1082&RD_PARM1=https%253A%252F%252Fwww.walmart.com%252Fip%252FBetter-    '
                           'Homes-and-Gardens-Owl-Memory-Foam-Bath-Rug-20-    '
                           'x-30%252F43090845%253Faffp1%253D3NMsqL2_UxcE1HIonNkB-    '
                           'L5B02IQEPQWawum0w3ENkc%2526affilsrc%253Dapi',
     'productUrl': 'http://c.affil.walmart.com/t/api01?l=https%3A%2F    '
                   '%2Fwww.walmart.com%2Fip%2FBetter-Homes-and-Gardens-Owl-Memory-Foam-Bath-    '
                   'Rug-20-x-30%2F43090845%3Faffp1%3D3NMsqL2_UxcE1HIonNkB-    '
                   'L5B02IQEPQWawum0w3ENkc%26affilsrc%3Dapi%26veh%3Daff%26wmlspartner%3Dreadonlya    '
                   'pi',
     'rhid': '30609',
     'salePrice': 14.88,
     'shipToStore': True,
     'shortDescription': 'Pamper your feet with this Memory Foam bath mat     from '
                         'Mohawk Home. All synthetic textiles enable it to stand '
                         'up to moisture.     Slip-resistant backing makes it '
                         'extra safe and fast drying. Bath rug is     machine '
                         'washable.',
     'size': '20"   x 30"',
     'standardShipRate': 5.99,
     'stock': 'NOT_AVAILABLE',
     'thumbnailImage': 'https://i5.walmartimages.com/asr/56639088-94cb-    '
                       '46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=100&    '
                       'odnWidth=100&odnBg=FFFFFF',
     'upc': '040773068722'}
    
        2
  •  0
  •   Matt Runion    6 年前

    问题就在这条线上

    "20\\"     x30\\"",
    

    据我所知。把那条线清理干净,看看能不能用。

        3
  •  0
  •   donkopotamus    6 年前

    声明 json.loads(r"""i""") 正在尝试解码 "i" i 作为 """{}""".format(i) ... 那为什么不直接用呢 json.loads(i)

    >>> json.loads(raw_json[0][2:-1])
    {u'marketplace': False, u'preOrder': False, u'color': u'Brown', u'imageEntities': [{u'entityType': u'SECONDARY', u'thumbnailImage': u'https://i5.walmartimages.com/asr/2a6072b1-    d71a-4dd4-8cbb-    afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=100&    odnWidth=100&odnBg=FFFFFF', u'largeImage': u'https://i5.walmartimages.com/asr/2a6072b1-    d71a-4dd4-8cbb-    afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF', u'mediumImage': u'https://i5.walmartimages.com/asr/2a6072b1-    d71a-4dd4-8cbb-    afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF'}, {u'entityType': u'SECONDARY', u'thumbnailImage': u'https://i5.walmartimages.com    /asr/d1dbd2e0-8bd1-4e12-ac2b-    bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=100&    odnWidth=100&odnBg=FFFFFF', u'largeImage': u'https://i5.walmartimages.com    /asr/d1dbd2e0-8bd1-4e12-ac2b-    bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF', u'mediumImage': u'https://i5.walmartimages.com    /asr/d1dbd2e0-8bd1-4e12-ac2b-    bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF'}, {u'entityType': u'PRIMARY', u'thumbnailImage': u'https://i5.walmartimages.com    /asr/56639088-94cb-46b3-8a3c-    750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=100&        odnWidth=100&odnBg=FFFFFF', u'largeImage': u'https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF', u'mediumImage': u'https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF'}], u'numReviews': 5, u'productUrl': u'http://c.affil.walmart.com/t/api01?l=https%3A%2F    %2Fwww.walmart.com%2Fip%2FBetter-Homes-and-Gardens-Owl-Memory-Foam-Bath-    Rug-20-x-30%2F43090845%3Faffp1%3D3NMsqL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%26affilsrc%3Dapi%26veh%3Daff%26wmlspartner%3Dreadonlya    pi', u'ninetySevenCentShipping': False, u'customerRatingImage': u'http://i2.walmartimages.com/i/CustRating    /4_4.gif', u'rhid': u'30609', u'addToCartUrl': u'http://c.affil.walmart.com/t/api01?l=http%3A%2F    %2Faffil.walmart.com%2Fcart%2FaddToCart%3Fitems%3D43090845%7C1%26affp1%3D3NMs    qL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%26affilsrc%3Dapi%26veh%3Daff%26wmlspartner%3Dreadonlya    pi', u'shortDescription': u'Pamper your feet with this Memory Foam bath mat     from Mohawk Home. All synthetic textiles enable it to stand up to moisture.     Slip-resistant backing makes it extra safe and fast drying. Bath rug is     machine washable.', u'freeShipToStore': True, u'size': u'20"   x 30"', u'customerRating': u'4.4', u'brandName': u'Better Homes & Gardens', u'mediumImage': u'https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF', u'productTrackingUrl': u'http://linksynergy.walmart.com/fs-    bin/click?id=|LSNID|&offerid=223073.7200&type=14&catid=8&subid=0&hid=7200&    tmpid=1082&RD_PARM1=https%253A%252F%252Fwww.walmart.com%252Fip%252FBetter-    Homes-and-Gardens-Owl-Memory-Foam-Bath-Rug-20-    x-30%252F43090845%253Faffp1%253D3NMsqL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%2526affilsrc%253Dapi', u'stock': u'NOT_AVAILABLE', u'categoryNode': u'4044_539095_920259', u'largeImage': u'https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF', u'parentItemId': 43090845, u'thumbnailImage': u'https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=100&    odnWidth=100&odnBg=FFFFFF', u'bundle': False, u'longDescription': u'<br><b>Better Homes and Gardens Owl
     Memory Foam Bath Rug, 20" x     30":</b><ul><li>Machine     washable</li><li>Slip-resistant backing</li><li>Fast     drying</li><li>Soft to touch</li><li>Material     Content: Polyester</li><li>Better Homes and Garden bath rugs is     extra safe</li></ul>', u'standardShipRate': 5.99, u'categoryPath': u'Home/Bath/Bath Rugs & Mats', u'shipToStore': True, u'freeShippingOver35Dollars': True, u'itemId': 43090845, u'availableOnline': False, u'name': u'Better Homes and Gardens Owl Memory Foam Bath Rug, 20"   x     30"', u'gender': u'Unisex', u'upc': u'040773068722', u'modelNumber': u'BH15-005-599-01', u'salePrice': 14.88, u'affiliateAddToCartUrl': u'http://linksynergy.walmart.com/fs-    bin/click?id=|LSNID|&offerid=223073.7200&type=14&catid=8&subid=0&hid=7200&    tmpid=1082&    RD_PARM1=http%253A%252F%252Faffil.walmart.com%252Fcart%252FaddToCart%253Fitem    s%253D43090845%257C1%2526affp1%253D3NMsqL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%2526affilsrc%253Dapi', u'attributes': {u'color': u'Brown', u'ironBankCategory': u'Home Decor', u'size': u'20"      x 30"'}, u'clearance': False, u'msrp': 15.88}