public class JSONUtil extends Object
Modifier and Type | Field and Description |
---|---|
static com.fasterxml.jackson.databind.ObjectMapper |
MAPPER |
Constructor and Description |
---|
JSONUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getClaimFromJWT(String claim,
Object token) |
static <T> T |
readJSON(InputStream is,
Class<T> clazz) |
public static <T> T readJSON(InputStream is, Class<T> clazz) throws IOException
IOException
Copyright © 2019. All rights reserved.