You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of the type hinting, parse-stream requires a Reader to be passed in. The createParser method in Jackson will accept an InputStream, and it would be nice if it were possible to pass that in directly without having to create a Reader. The jackson docs at http://wiki.fasterxml.com/JacksonBestPracticesPerformance strongly suggest not creating a Reader before calling createParser if you already have an InputStream. If you create a reader then you don't get the encoding detection that Jackson has.
The text was updated successfully, but these errors were encountered:
I went down the path of trying to make this and other changes suggested in the best practices, but it breaks a lot of things. This will take longer to implement than I had expected
Because of the type hinting, parse-stream requires a Reader to be passed in. The createParser method in Jackson will accept an InputStream, and it would be nice if it were possible to pass that in directly without having to create a Reader. The jackson docs at http://wiki.fasterxml.com/JacksonBestPracticesPerformance strongly suggest not creating a Reader before calling createParser if you already have an InputStream. If you create a reader then you don't get the encoding detection that Jackson has.
The text was updated successfully, but these errors were encountered: