mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #791] Valid json uses " for strings, not ' #492
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#492
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Ximzend on GitHub (Mar 12, 2022).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/791
I tried several online json beatify pages to explorer the json I got from spotipy and they all gave an error. The issue: spotipy uses ' instead of " for strings.
@dieser-niko commented on GitHub (Nov 15, 2022):
If you mean the "JSON" you get when you call a search function for example, then this is not JSON. This is already parsed into a python object. Python automatically displays strings with a
', even if you create the string with a". So just do this if you want to get a JSON string:@dieser-niko commented on GitHub (May 1, 2024):
Closing as there's no activity