Giter Site home page Giter Site logo

buildjsonobject's Introduction

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

buildjsonobject's People

Contributors

xinkun-mini avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

sffej

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.