public class JsonUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JsonUtils.InstantAdapter |
static class |
JsonUtils.LocalDateTimeAdapter |
| Constructor and Description |
|---|
JsonUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
asJson(Object o) |
static <T> String |
asJson(Object o,
Function1<com.google.gson.GsonBuilder,com.google.gson.GsonBuilder> gsonBuilder) |
static <T> String |
asJsonWithBuilder(Object o,
Function1<T,T> gsonBuilder,
Class<T> gsonBuilderClass) |
static String |
prettyPrint(String json) |
Copyright © 2022. All rights reserved.