GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - xinkunZ/BuildJSONObject: Generate toJson() Method For Java Beans

BranchesTags
Open more actions menu

Latest commit

 

History

17 Commits
17 Commits

Folders and files

NameName
Last commit message
Last commit date
resources/META-INF
resources/META-INF
 
 
src/com/zxk/plugin
src/com/zxk/plugin
 
 
.gitignore
.gitignore
 
 
BuildJSONObject.iml
BuildJSONObject.iml
 
 
README.md
README.md
 
 

Repository files navigation

BuildJSONObject

  • Generate toJson Method For Java Beans
  • How To Use:
    • Alt+Insert - toJSON
  • Json tool supported by org.apache.tapestry.json.JSONObject

Version Notes

version 1.2.1

  • If not java file,remove toJson from generate items

version 1.2

  • Fix configuration persist bug

version 1.1

  • 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

version 0.1

  • First Upload

Licence

  • Apache

About

Generate toJson() Method For Java Beans

Topics

idea-pluginjsonobjecttojson

Resources

Readme
Activity

Stars

1 star

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.