Rootconf 2016

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

Deserialize JSON configuration with #golang Interface

Submitted by Rohit Gupta (@rohit01) on Thursday, 17 March 2016

videocam_off

Technical level

Intermediate

Section

Full talk

Status

Submitted

Vote on this proposal

Login to vote

Total votes:  +6

Objective

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.

Description

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

Login with Twitter or Google to leave a comment