Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timestamp breaks encoding. #128

Open
schnopsel opened this issue Jun 18, 2019 · 0 comments
Open

Timestamp breaks encoding. #128

schnopsel opened this issue Jun 18, 2019 · 0 comments

Comments

@schnopsel
Copy link

schnopsel commented Jun 18, 2019

Line 112-113 in jsx_parser.erl breaks when you give it a tuple that is not an Erlang timestamp, for instance:
{<<"x">>, <<"y">>, []}

One solution would be to add an option "interpret_timestamps" that activates the Erlang timestamp code.

Love your work, btw.
/denonde

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

No branches or pull requests

1 participant