congress-api-docs
congress-api-docs copied to clipboard
A handful of bills return invalid JSON
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.