Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the replacement class for SerializerBase in FasterXML Jackson 2?

I am upgrading to Jackson 2. I have many custom serializers extending SerializerBase (org.codehaus.jackson.map.ser.std.SerializerBase). What's the new equivalent class in Jackson 2

like image 307
mohamed.ibrahim Avatar asked Jun 11 '15 17:06

mohamed.ibrahim


People also ask

What does Jackson Databind do?

Data Binding API is used to convert JSON to and from POJO (Plain Old Java Object) using property accessor or using annotations. It is of two type. Simple Data Binding - Converts JSON to and from Java Maps, Lists, Strings, Numbers, Booleans and null objects.

What is the use of Jackson in Java?

Jackson allows you to read JSON into a tree model: Java objects that represent JSON objects, arrays and values. These objects are called things like JsonNode or JsonArray and are provided by Jackson.

What is Jackson framework?

Jackson is a high-performance JSON processor used for Java. It is the most popular library used for serializing Java objects or Map to JSON and vice-versa. It is completely based on Java. Jackson tutorial provides all the basic and advanced concepts of the Jackson library.

What is Jackson Spring?

Since 1962, JACKSON SPRING MFG. CO., INC. has provided its customers with precision manufactured springs and wire products. We are committed to a systematic problem-solving approach to find new and better ways to meet both current and future challenges.


1 Answers

Looks like StdSerializer is the new replacement (com.fasterxml.jackson.databind.ser.std.StdSerializer)

like image 96
mohamed.ibrahim Avatar answered Sep 21 '22 15:09

mohamed.ibrahim