Popularity
0.9
Growing
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.
-
jsonparser
One of the fastest alternative JSON parser for Go that does not require schema -
fastjson
Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection -
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. -
jsondiff
Compute the diff between two JSON documents as a series of RFC6902 (JSON Patch) operations -
JSON-to-Proto
convert JSON to Protocol Buffers online in your browser instantly -
ujson
µjson - A fast and minimal JSON parser and transformer that works on unstructured JSON -
ask
A Go package that provides a simple way of accessing nested properties in maps and slices. -
mapslice-json
Go MapSlice for ordered marshal/ unmarshal of maps in JSON -
Better Parsing of Unstructured JSON in Go
An error propagating JSON parsing library for Go -
go-jsonerror
Small package which wraps error responses to follow jsonapi.org -
epoch
Contains primitives for marshaling/unmarshaling Unix timestamp/epoch to/from built-in time.Time type in JSON -
omg.jsonparser
The simple JSON parser with validation by condition -
go-parameters
:blue_book: Easily parse incoming parameters and values from an HTTP request -
JSONcJSON
JSONC (json with comments) to JSON translator for Golang. -
jsonhandlers
JSON library to expose simple handlers that lets you easily read and write json from various sources.
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
Promo
www.influxdata.com
Do you think we are missing an alternative of jsonToStruct or a related project?
Popular Comparisons
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 |
---|---|
![]() |
![]() |