Parsing fails due to price information scheme changed #1

Closed
opened 2023-03-24 17:33:26 +01:00 by Serraniel · 1 comment
Serraniel commented 2023-03-24 17:33:26 +01:00 (Migrated from github.com)

Due to changes in the scheme for price information, the parsing fails.
image

New scheme is like

"prices": [
        {
          "priceAmount": 100,
          "priceCurrency": "JPY",
          "dateUpdated": "12/27/2022",
          "listingUrl": "https://www.c-labo-online.jp/product/212735",
          "vendor": "c-labo",
          "variant": "RH",
          "condition": "NM"
        },
        {
          "priceAmount": 15,
          "priceCurrency": "JPY",
          "dateUpdated": "12/30/2022",
          "listingUrl": "https://yuyu-tei.jp/game_poc/carddetail/cardpreview.php?VER=s12a&CID=10002&MODE=sell",
          "vendor": "yuyu-tei",
          "variant": "Reg",
          "condition": "DMG"
        },
        {
          "priceAmount": 20,
          "priceCurrency": "JPY",
          "dateUpdated": "12/27/2022",
          "listingUrl": "https://yuyu-tei.jp/game_poc/carddetail/cardpreview.php?VER=s12a&CID=10002&MODE=sell",
          "vendor": "yuyu-tei",
          "variant": "RH",
          "condition": "DMG"
        },
        {
          "priceAmount": 22,
          "priceCurrency": "JPY",
          "dateUpdated": "12/30/2022",
          "listingUrl": "https://yuyu-tei.jp/game_poc/carddetail/cardpreview.php?VER=s12a&CID=10002&MODE=sell",
          "vendor": "yuyu-tei",
          "variant": "RH",
          "condition": "NM"
        }
      ]
Due to changes in the scheme for price information, the parsing fails. ![image](https://user-images.githubusercontent.com/8461282/227585927-5def2186-0de9-46b0-a9c4-1b35a5fd5863.png) New scheme is like ```json "prices": [ { "priceAmount": 100, "priceCurrency": "JPY", "dateUpdated": "12/27/2022", "listingUrl": "https://www.c-labo-online.jp/product/212735", "vendor": "c-labo", "variant": "RH", "condition": "NM" }, { "priceAmount": 15, "priceCurrency": "JPY", "dateUpdated": "12/30/2022", "listingUrl": "https://yuyu-tei.jp/game_poc/carddetail/cardpreview.php?VER=s12a&CID=10002&MODE=sell", "vendor": "yuyu-tei", "variant": "Reg", "condition": "DMG" }, { "priceAmount": 20, "priceCurrency": "JPY", "dateUpdated": "12/27/2022", "listingUrl": "https://yuyu-tei.jp/game_poc/carddetail/cardpreview.php?VER=s12a&CID=10002&MODE=sell", "vendor": "yuyu-tei", "variant": "RH", "condition": "DMG" }, { "priceAmount": 22, "priceCurrency": "JPY", "dateUpdated": "12/30/2022", "listingUrl": "https://yuyu-tei.jp/game_poc/carddetail/cardpreview.php?VER=s12a&CID=10002&MODE=sell", "vendor": "yuyu-tei", "variant": "RH", "condition": "NM" } ] ```
Serraniel commented 2023-03-24 22:11:55 +01:00 (Migrated from github.com)

Fixed with new update

Fixed with new update
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Serraniel/japanese-pokemon-cards-sdk-csharp#1
No description provided.