mas-cli / mas

:package: Mac App Store command line interface
MIT License
10.95k stars 275 forks source link

Fix JSON parsing error by making `formattedPrice` & `price` optional for `SearchResult` #643

Closed rgoldberg closed 6 days ago

rgoldberg commented 6 days ago

Fix JSON parsing error by making formattedPrice & price optional for SearchResult.

Use new displayPrice to get around optional formattedPrice. Doesn't handle i18n, but we can clean that up after we completely redo JSON handling.

Resolve #493