Code Monkey home page Code Monkey logo

json2dart_null_safety's Introduction

Hi there 👋

json2dart_null_safety's People

Contributors

fastcode555 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

json2dart_null_safety's Issues

这个json 解析出错啦,main_rewards字段直接解析成model了,应该是二维数组,不支持二维数组吗?

{
"campaign_id": 10,
"start_time": 1693972698,
"end_time": 1701316800,
"display_status": 1,
"topic_3": 0,
"topic_4": 0,
"points": 0,
"your_rewards": [{
"reward_type": 7,
"reward_value": 10,
"raw_info": {
"traits": {
"card_image": "https://static.base.me/jpg/base.jpg",
"type_name": "base"
}
},
"reward_addr": "0xef1343b1CF679F99Aa962318BA269A69Ae281D0d"
}, {
"reward_type": 8,
"reward_value": 20,
"raw_info": {
"traits": {
"card_image": "https://static.copy.me/jpg/copy.jpg",
"type_name": "copy"
}
},
"reward_addr": ""
}],
"points_pic": "",
"topic_pic": "",
"target_reward": 0,
"main_rewards": [
[{
"tp": 2,
"amount": 10
}, {
"tp": 6,
"amount": 10
}],
[{
"tp": 1,
"amount": 10
}, {
"tp": 6,
"amount": 10
}],
[{
"tp": 7,
"amount": 100000
}],
[{
"tp": 8,
"amount": 8880000
}]
],
"other_rewards": [
[{
"tp": 3,
"amount": 10
}],
[{
"tp": 4,
"amount": 1000
}],
[{
"tp": 5,
"amount": 8880000
}]
]
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.