Skip navigation links
Red Hat JBoss Enterprise Application Platform 7.0.0.GA

Package com.fasterxml.jackson.databind

Contains basic mapper (conversion) functionality that allows for converting between regular streaming json content and Java objects (beans or Tree Model: support for both is via ObjectMapper class, as well as convenience methods included in JsonParser

See: Description

Package com.fasterxml.jackson.databind Description

Contains basic mapper (conversion) functionality that allows for converting between regular streaming json content and Java objects (beans or Tree Model: support for both is via ObjectMapper class, as well as convenience methods included in JsonParser

Object mapper will convert Json content to ant from basic Java wrapper types (Integer, Boolean, Double), Collection types (List, Map), Java Beans, Strings and nulls.

Tree mapper builds dynamically typed tree of JsonNodes from JSON content (and writes such trees as JSON), similar to how DOM model works with XML. Main benefits over Object mapping are:

Because of its dynamic nature, Tree mapping is often convenient for basic path access and tree navigation, where structure of the resulting tree is known in advance.
Skip navigation links
Red Hat JBoss Enterprise Application Platform 7.0.0.GA

Copyright © 2016 JBoss by Red Hat. All rights reserved.