Fragments 2017

A conference on the mobile ecosystem in India

Up next

Lyrics: A Schema to POJO library


Sourabh Gupta (Tech - BLR)


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 -:


Convert schema to java POJO
Single POJO repositories between various clients and Server.
Easy management of Server deployment without breaking any client contract.

Speaker bio

Senior Mobile Engineer at Flipkart.