Rootconf 2016

Rootconf is India's principal conference where systems and operations engineers share real world knowledge about building resilient and scalable systems.

Rohit Gupta

@rohit01

Deserialize JSON configuration with #golang Interface

Submitted Mar 18, 2016

The objective of this workshop is to highlight the challenges of generic JSON parsing in a strongly typed language such as #golang. At the end of this talk, participants will be able to design config driven applications, with strong validation and friendly error logs.

Outline

Draft plan - topics to be covered

  • Simple JSON parsing in golang
  • Think relationship between configurations
  • Dont repeat yourself, Composition (HAS-A) relations
  • Interface and Typecasting objects
  • Validating configuraton
  • Exception handling to generate syntax error summary
  • Opensource project example: rohit01/auto-refresh-ami

Requirements

  • Basic golang understanding (syntax).

Speaker bio

Rohit is a technologist, explorer and a proud Indian.
As a technologist, he has worked in the area of convergence of telephony over the web. He has worked as an infrastructure engineer, product developer, did customer support, helped built teams and also led a team of 10 DevOps developers. Rohit loves open-source, started a Linux User Group at his university and has an active Github profile.
As an explorer, he loves to try out new things. He loves trekking, photography, challenged himself with vipassana meditation and long distance bike tours.

You can find more about him at www.rohit.io

Comments

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

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

{{ errorMsg }}

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

Hosted by

We care about site reliability, cloud costs, security and data privacy