-
-
Notifications
You must be signed in to change notification settings - Fork 812
Allow skipping RS
CTRL-CHAR to support JSON Text Sequences
#633
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
Comments
It may make sense to support
Which would leave the option of a new feature or two, relating to allowed white-space:
One possible concern I have is performance, as skipping of white-space is quite heavily optimized, but without using lookup tables. So addition of a new code may have measurable effect. |
I vote for option 2 if performance is not an issue. |
Wondering if something like this is how a feature allowing the RS char specifically would be done |
Is this issue solved? |
Not done. This is a volunteer project. Would you like to volunteer? |
RS
CTRL-CHAR to support JSON Text Sequences
Currently jackson supports reading newline-delimited json such as JSON Lines and NDJSON, see FasterXML/jackson-databind#1304.
There is a proposed standard RFC7464 call JSON Text Sequences, it's similar to newline-delimited json by add a leading RS CTRL-CHAR which is not accepted by jackson.
It would be nice if jackson simply treat RS as "\t" be default or
JsonReadFeature.ALLOW_UNESCAPED_CONTROL_CHARS
enabled.here is test case:
The text was updated successfully, but these errors were encountered: