Skip to content
This repository was archived by the owner on Mar 8, 2018. It is now read-only.

Problem with encoding and decoding None #34

@umax

Description

@umax

There is a problem with decoding encoded by yajl value:

In [1]: import yajl
In [2]: json_data = yajl.dumps({None:123})
In [3]: json_data
Out[3]: '{null:123}'

In [4]: data = yajl.loads(json_data)

ValueError Traceback (most recent call last)
/home/umax/projects/json_text/ in ()
----> 1 data = yajl.loads(json_data)

ValueError: parse error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions