StringJsonExten extension
json解析工具类
- on
Methods
-
kfromJson<
T> (T fromJsonT(dynamic json)) → T? -
Available on String?, provided by the StringJsonExten extension
json转T,T = 原始数据类型 or 自定义对象 -
kfromJsonList<
T> (T fromJsonT(dynamic json)) → List< T> ? -
Available on String?, provided by the StringJsonExten extension
json 转 List -
kfromJsonMap<
K, T> () → Map< K, T?> ? -
Available on String?, provided by the StringJsonExten extension
json转Map<K, T?>,T = 原始数据类型 -
kfromJsonMapList<
K, T> (T fromJsonT(dynamic json)) → Map< K, List< ?T> ?> -
Available on String?, provided by the StringJsonExten extension
json转Map<K, List -
kfromJsonMapT<
K, T> (T fromJsonT(dynamic json)) → Map< K, T?> ? -
Available on String?, provided by the StringJsonExten extension
json转Map<K, T?>,T = bean对象 -
ktoJson(
) → String -
Available on String?, provided by the StringJsonExten extension
string转json