shiburagi / JsonToDart

VS Code Extension
10 stars 7 forks source link

请问大佬,Customize 这个怎么在vscode中自定义使用呢?? #10

Open ke112 opened 2 years ago

ke112 commented 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

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 中 怎么自定义呢??? 求指教

shiburagi commented 1 year ago

in pubspec.yaml Example