Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
debuggerx01
JSONFormat4Flutter
Repository navigation
Code
Issues
6
(6)
Pull requests
1
(1)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
JSONFormat4Flutter
template_code.py
on
dev
User selector
All users
Datepicker
All time
Commit history
Commits on Aug 17, 2018
修复json中字段不存在或者为null时可能导致的bean对象创建错误,也就是各字段处理时加入了null判断;放弃对于普通数据类型数组的生成代码优化;更新测试
debuggerx01
committed
d96c22d
View commit details
Copy full SHA for d96c22d
View code at this point
Browse repository at this point
Commits on Jun 28, 2018
调整bean的构造函数模板,传参数构造为XXX.fromParams(),传json对象构造为XXX.fromJson(),只有顶层对象有默认构造,可以直接传入json字符串完成整个对象的生成
debuggerx01
committed
4a67432
View commit details
Copy full SHA for 4a67432
View code at this point
Browse repository at this point
新增默认构造函数,原构造函数新增命名fromJson,一同修改了示例的RegionResp.dart
Gogs
committed
b389523
View commit details
Copy full SHA for b389523
View code at this point
Browse repository at this point
Commits on Mar 6, 2018
稍微修改模板代码位置;修正顶层结构为List时解析的错误取值
debuggerx01
committed
684318d
View commit details
Copy full SHA for 684318d
View code at this point
Browse repository at this point
Commits on Feb 1, 2018
好像完成了??待测试~~
debuggerx01
committed
920c9be
View commit details
Copy full SHA for 920c9be
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.