This is a valid Python string, but the json is incorrect.
See json spec:
A string is a sequence of zero or more Unicode characters, wrapped in double quotes [...]
For "simplicity" I'm creating the Python string in single quotes, arguing that the codebase already uses a mixed double- and single quoting style, anyway.
This is a valid Python string, but the json is incorrect. See json spec:
For "simplicity" I'm creating the Python string in single quotes, arguing that the codebase already uses a mixed double- and single quoting style, anyway.
Update: Probably not necessary if https://github.com/erikriver/opengraph/pull/4/files get's merged.