Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

A handful of bills return invalid JSON #274

Open
nicleary opened this issue Nov 29, 2021 · 0 comments
Open

A handful of bills return invalid JSON #274

nicleary opened this issue Nov 29, 2021 · 0 comments

Comments

@nicleary
Copy link

Several bills return JSON which cannot be read by most parsers, such as python's json.loads(). These seem to be caused by stray "" characters in the bill summaries.

An example of this can be found in hr1771-113, where there is an extra \ in the summary, which is followed by a space. This results in an unexpected escape character in most languages, and a JSONDecodeError is thrown.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant