Convert json file to golang type

Closed - This job posting has been filled and work has been completed.
Web, Mobile & Software Dev Scripts & Utilities Posted 2 years ago


Hours to be determined
Less than 1 week

Intermediate Level

Start Date

April 25, 2014


We need golang program that accept json file as input and output golang type. For example:
1) For json string {"ID":1,"name":"Reds","colors":["Crimson","Red","Ruby","Maroon"]}

output will be

type SomeType struct {
ID     int
Name   string
Colors []string

2) For json string ["Crimson","Red","Ruby","Maroon"]

type SomeType []string

Please use "go/format" package to format output and use uppercase names. Feel free to contact us about any details.

About the Client

(5.00) 13 reviews

Hong Kong
Kowloon 08:30 PM

8 Jobs Posted
88% Hire Rate, 1 Open Job

$1,615 Total Spent
16 Hires, 0 Active

$24.80/hr Avg Hourly Rate Paid
45 Hours

Member Since Nov 12, 2013