public class TypesUtils extends Object
| 构造器和说明 |
|---|
TypesUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Type |
extractType(String prefix,
AtomicInteger atomicInteger,
DataModel atData)
分析 DataModel 提取数据结构变为 Type 类型对象
|
static com.alibaba.fastjson.JSONObject |
toJsonSchema(Type type,
boolean useRef)
将 Type 分析 DataModel 提取数据结构变为 Type 类型对象
|
public static Type extractType(String prefix, AtomicInteger atomicInteger, DataModel atData)
public static com.alibaba.fastjson.JSONObject toJsonSchema(Type type, boolean useRef)
Copyright © 2020–2021. All rights reserved.