Skip to content

Exception('No JSON object could be decoded') when parsing a valid JSON #63158

@Gallaecio

Description

@Gallaecio
mannequin
BPO 18958
Nosy @ncoghlan, @ezio-melotti, @serhiy-storchaka, @vajrasky
Dependencies
  • bpo-19307: Improve TypeError message in json.loads()
  • Files
  • input.json: Valid JSON code
  • json_BOM_signature_documentation.patch: patch for json loads BOM signature documentation
  • issue18958.diff
  • issue18958-2.diff
  • issue18958-2-py3k.diff
  • issue18958-3.diff
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/ezio-melotti'
    closed_at = <Date 2013-10-20.23:11:58.212>
    created_at = <Date 2013-09-07.12:33:15.045>
    labels = ['easy', 'type-bug', 'docs']
    title = "Exception('No JSON object could be decoded') when parsing a valid JSON"
    updated_at = <Date 2013-10-20.23:11:58.211>
    user = 'https://bugs.python.org/Gallaecio'

    bugs.python.org fields:

    activity = <Date 2013-10-20.23:11:58.211>
    actor = 'ezio.melotti'
    assignee = 'ezio.melotti'
    closed = True
    closed_date = <Date 2013-10-20.23:11:58.212>
    closer = 'ezio.melotti'
    components = ['Documentation']
    creation = <Date 2013-09-07.12:33:15.045>
    creator = 'Gallaecio'
    dependencies = ['19307']
    files = ['31643', '31764', '32213', '32235', '32237', '32239']
    hgrepos = []
    issue_num = 18958
    keywords = ['patch', 'easy']
    message_count = 20.0
    messages = ['197152', '197155', '197158', '197160', '197163', '197164', '197745', '200360', '200361', '200362', '200368', '200536', '200538', '200540', '200542', '200546', '200560', '200622', '200650', '200651']
    nosy_count = 8.0
    nosy_names = ['ncoghlan', 'ezio.melotti', 'docs@python', 'python-dev', 'serhiy.storchaka', 'Anoop.Thomas.Mathew', 'vajrasky', 'Gallaecio']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue18958'
    versions = ['Python 3.4']

    Metadata

    Metadata

    Assignees

    Labels

    docsDocumentation in the Doc direasytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions