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

Fix error handler for maps and implemented converter of list fromatted configuration to record #120

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

cleverfox
Copy link

Hello. I made a little patch for being able to resume encoding term to JSON in case of key is a bad string. Current implementation of error handler and jsx_parser:resume didn't work with maps. Also something was wrong with config, which was converted to list before calling error handler, but jsx_parser:resume expects record. I done this to use error handler for encoding binary (non printable) keys and/or values in maps and/or arrays. Examples in tests.

@cleverfox cleverfox changed the title Fix error handler and parser of list config to record Fix error handler for maps and implemented converter of list fromatted configuration to record Jul 23, 2018
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

Successfully merging this pull request may close these issues.

None yet

1 participant