Lyrics: A Schema to POJO library
Lyrics is a new library created to convert schema files into java POJO files. This has been built using JavaPoet, a code generation library comparable to Sun’s CodeModel.
Though there are existing libraries which convert JSON schemas to POJO files, specifically jsonschema2pojo, we decided to create a new library because they lack features that we need, like support for generic classes, configurable modifiers, android validation annotations etc.
Project is already open sourced Github link -: https://github.com/flipkart-incubator/Lyrics
Convert schema to java POJO
Single POJO repositories between various clients and Server.
Easy management of Server deployment without breaking any client contract.
Senior Mobile Engineer at Flipkart.