public interface JsonProvider
| 限定符和类型 | 方法和说明 |
|---|---|
<T> T[] |
toArray(CharSequence json,
Class<T> type) |
<T> String |
toJson(T value) |
<T> List<T> |
toList(CharSequence json,
Class<T> type) |
<K,V> Map<K,V> |
toMap(CharSequence json,
Class<K> keyType,
Class<V> valueType) |
<T> T |
toModel(CharSequence json,
Class<T> type) |
<T> Set<T> |
toSet(CharSequence json,
Class<T> type) |
@Nonnull <T> String toJson(@Nonnull T value)
@Nonnull
<T> T toModel(@Nonnull
CharSequence json,
@Nonnull
Class<T> type)
@Nonnull <T> List<T> toList(@Nonnull CharSequence json, @Nonnull Class<T> type)
@Nonnull <T> Set<T> toSet(@Nonnull CharSequence json, @Nonnull Class<T> type)
@Nonnull
<T> T[] toArray(@Nonnull
CharSequence json,
@Nonnull
Class<T> type)
@Nonnull <K,V> Map<K,V> toMap(@Nonnull CharSequence json, @Nonnull Class<K> keyType, @Nonnull Class<V> valueType)
Copyright © 2023. All rights reserved.