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 1 year ago

Hourly Job

Hours to be determined
Less than 1 week

Intermediate Level

I am looking for a mix of experience and value


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) 12 reviews

Hong Kong
Kowloon 01:36 PM

8 Jobs Posted
88% Hire Rate, 1 Open Job

$1,615 Total Spent
16 Hires, 1 Active

$24.80/hr Avg Hourly Rate Paid
45 Hours

Member Since Nov 12, 2013