GeezerVison is showing github.com — GitHub - xinkunZ/BuildJSONObject: Generate toJson() Method For Java Beans
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|
| | | |
| | | |
| | | |
| | | |
| | | |
|
Repository files navigation
- Generate
toJson Method For Java Beans
- How To Use:
- Json tool supported by
org.apache.tapestry.json.JSONObject
- If not java file,remove toJson from generate items
- Fix configuration persist bug
- Support One-To-Many Java Beans
- Only use private fields to build json
- Support ignore fields(like serialVersionUID, logger,etc.) By IDEA Setttings
- Support un-String type fields generate toString() automatically
- If Date type field, use
Converter.toString();
- If BigDecimal type field
- If field name contain "qty", use
Converter.toQtyString();
- Else use
Converter.toMoneyString();
- Support import
com.hd123.common.Converter and org.apache.tapestry.json.JSONObject packages automatically
About
Generate toJson() Method For Java Beans
Topics
Resources
Stars
1 star
Watchers
2 watching
Forks