Fragments 2017

Fragments 2017

A conference on the mobile ecosystem in India

Sourabh Gupta (Tech - BLR)

@sourabhflipkart

Lyrics: A Schema to POJO library

Submitted Jul 30, 2017

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

Outline

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.

Slides

https://docs.google.com/presentation/d/10QzKOwgg62CSb0SV8-9t5AxwF-LuaabPPG5BTMpcEmM/edit?usp=sharing

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

How do you make a great mobile experience? Explore with Fragments. Follow Fragments on Twitter more