Open ke112 opened 2 years ago
jsonToDart: outputFolder: lib/models #default: lib/ typeChecking: true #default: undefined (Select from picker) nullValueDataType: String #default: dynamic nullSafety: false #default: true copyWithMethod: true #default: false mergeArrayApproach: false #default: true
checkNumberAsNum: true # true, false, "ask"
具体怎么使用呢,, 请问下大佬,,,在setting.json 中 怎么自定义呢??? 求指教
in pubspec.yaml Example
jsonToDart: outputFolder: lib/models #default: lib/ typeChecking: true #default: undefined (Select from picker) nullValueDataType: String #default: dynamic nullSafety: false #default: true copyWithMethod: true #default: false mergeArrayApproach: false #default: true
default: false,
if true, value = (json[key] as num).toInt() or value = (_data[key] as num).toDouble()
if false, value = json[key]
if "ask", selection popup will apear before parse json
checkNumberAsNum: true # true, false, "ask"
具体怎么使用呢,, 请问下大佬,,,在setting.json 中 怎么自定义呢??? 求指教