public class JsonHelper extends Object
| Constructor and Description |
|---|
JsonHelper() |
| Modifier and Type | Method and Description |
|---|---|
static com.fasterxml.jackson.databind.ObjectMapper |
createObjectMapper()
Creates a configured Jackson object mapper for parsing JSON
|
static String |
toJson(Object dto) |
public static String toJson(Object dto) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionpublic static com.fasterxml.jackson.databind.ObjectMapper createObjectMapper()
Copyright © 2011–2015 Red Hat. All rights reserved.