Popularity
0.8
Stable
Activity
0.0
Stable
2
3
2
Description
Convert your json to go struct efficiently.
Programming language: Go
License: MIT License
Latest version: v1.0.0
jsonToStruct alternatives and similar packages
Based on the "JSON" category.
Alternatively, view jsonToStruct alternatives based on common mentions on social networks and blogs.
-
fastjson
Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection -
trdsql
CLI tool that can execute SQL queries on CSV, LTSV, JSON, YAML and TBLN. Can output to various formats. -
marshmallow
Marshmallow provides a flexible and performant JSON unmarshalling in Go. It specializes in dealing with unstructured struct - when some fields are known and some aren't, with zero performance overhead nor extra coding needed. -
epoch
Contains primitives for marshaling/unmarshaling Unix timestamp/epoch to/from built-in time.Time type in JSON -
jsonhandlers
JSON library to expose simple handlers that lets you easily read and write json from various sources. -
JSON Data Manager
JSON Data Manager is a Go library designed to efficiently manage and filter JSON data from files
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
Promo
coderabbit.ai
Do you think we are missing an alternative of jsonToStruct or a related project?
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 |
---|---|