Skip to content

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

Open
cleverfox wants to merge 2 commits intotalentdeficit:developfrom
cleverfox:develop
Open

Fix error handler for maps and implemented converter of list fromatted configuration to record#120
cleverfox wants to merge 2 commits intotalentdeficit:developfrom
cleverfox:develop

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.

1 participant