-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Evaluate options around supporting fast parser in TextNode class #3526
Comments
One option is to call I guess one option would be to add another flag as a |
Not sure there's much need to support fast parser for Or is it common to serialize floating-point numbers as JSON Strings for some reason? Maybe thanks to Javascript or something? |
@cowtowncoder TextNode method |
Right, I understand the route. Was more curious as to whether it is used by anyone -- it does explicit coercion from JSON String to But I guess you noticed this by looking where parsing method was called, which makes sense wrt retrofitting code. |
Is your feature request related to a problem? Please describe.
Relates to FasterXML/jackson-core#577.
jackson-core and jackson-databind's StdDeserializer and NumberDeserializers check the StreamReadFeatures.
There are more classes that use NumberInput to parse floats/doubles - but that don't have access to the feature state to work out whether to use the fast parser. Examples include StdKeyDeserializer and TextNode.
The text was updated successfully, but these errors were encountered: