public class JsonUtils extends Object
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static <T> Optional<T> |
file2obj(Path path,
Class<T> objType) |
static <T> Optional<T> |
file2obj(Path path,
com.fasterxml.jackson.core.type.TypeReference<T> objType) |
static void |
obj2file(Object obj,
Path path) |
static String |
obj2str(Object obj) |
static <T> T |
str2obj(String str,
Class<T> objType) |
static <T> T |
str2obj(String str,
Object obj) |
static <T> T |
url2obj(URL url,
Class<T> objType) |
static <T> T |
url2obj(URL url,
Object obj) |
Copyright © 2019. All rights reserved.