public class Json extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Json.JsonCodec |
Constructor and Description |
---|
Json() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
fromJson(String json,
Class<T> type) |
static InputStream |
toInputStream(Object o,
Class<?> type) |
static String |
toJson(Object o) |
public static InputStream toInputStream(Object o, Class<?> type) throws IOException
IOException
Copyright © 2023. All rights reserved.