# README
jsonToStruct
Golang code generator for creating struct from json.
INSTALLATION
go get github.com/mayur-tolexo/j2s
Tags:
- -ip=input.json [Input File (default "input.json")]
- -op=bakery.go [Output File (default "output.go")]
- -name=Bakery [Structure Name (default "User")]
- -reuse=1 [if you want to reuse struct having same fields (default 0)]
Create Struct from console json.
Command | Output |
---|---|
![]() | ![]() |
Create struct from json input file.
Input | Output |
---|---|
![]() | ![]() |