If I am only using jackson-core (not databind), how do I create an instance of JsonParser in Jackson 3?
To prepare for a migration from Jackson 2 to Jackson 3, I am starting by making a simple demo project in Jackson 3. I started by creating an instance of the JsonFactory, but then tried to create a JsonParser and got confused. If you look at the documentation, you'll see that all of the public methods in JsonFactory that return instances of JsonParser first require you to give them an instance of ObjectReadContext. Then, I read the migration guide, but all I could see was that jackson-databind provides an instance of ObjectReadContext, called DeserializationContext. But I am not using jackson-d
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.