awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
mholt avatar

mholt/json-to-go

0
View on GitHub↗
4,627 stars·483 forks·JavaScript·MIT·14 viewsmholt.github.io/json-to-go↗

Json To Go

json-to-go is a web-based tool for automatically generating Go structs from JSON input. It functions as a JSON to Go type generator, transforming unstructured JSON data or API responses into strongly typed source code structures.

The project employs a WebAssembly-based translation engine to run the Go type generator directly within the browser. This architecture utilizes a schema-inference engine and recursive type mapping to analyze nested JSON objects and determine the appropriate Go data types for fields and arrays.

The tool also includes utilities for API client development, allowing users to convert curl command-line requests into Go source code, including the necessary HTTP request logic and type definitions.

Features

  • Go Type Generators - A utility for automatically creating Go structs from JSON input or curl command responses.
  • JSON Type Generators - Transforms JSON data samples into strongly typed Go struct definitions to ensure type safety.
  • JSON-to-Go Generators - A tool that converts JSON data into structured Go type definitions for use in source code.
  • Recursive Type Mappings - Utilizes a recursive algorithm to traverse nested JSON objects and generate corresponding nested Go struct definitions.
  • Schema Inference Engines - Includes a schema-inference engine that automatically determines the most appropriate Go data types for nested JSON fields.
  • Web-Based Schema Converters - Provides a browser-based interface for instantly transforming JSON schemas into strongly typed Go definitions.
  • WebAssembly Compilation - Compiles the translation logic to WebAssembly to run the Go type generator directly within the browser.
  • JSON and Data Parsing - Translates unstructured JSON inputs into formal Go language definitions for structured data handling.
  • API Client Generators - Generates Go source code and HTTP request logic from curl commands to accelerate API client development.
  • Curl-to-Code Converters - Provides a tool that converts curl commands into Go source code, including HTTP request logic and type definitions.

Star history

Star history chart for mholt/json-to-goStar history chart for mholt/json-to-go

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Json To Go

These projects share indexed features with Json To Go. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • stephenafamo/bobstephenafamo avatar

    stephenafamo/bob

    1,739View on GitHub↗

    This project is a database toolkit for Go that provides schema-to-object mapping, fluent query construction, and automated code generation. It functions as a framework for type-safe database access, enabling developers to interact with relational databases by generating models and interfaces directly from existing database schemas. The toolkit distinguishes itself through a workflow that parses hand-written SQL files to generate type-safe functions, allowing for the integration of custom SQL while maintaining consistent result mapping. It supports modular customization through a plugin-based

    Godatabasegolanghacktoberfest
    View on GitHub↗1,739
  • wasm-bindgen/wasm-packwasm-bindgen avatar

    wasm-bindgen/wasm-pack

    7,207View on GitHub↗

    wasm-pack is a build tool and workflow orchestrator for compiling Rust code to WebAssembly. It coordinates the compilation process and generates the JavaScript glue code required to execute Rust logic within web browsers and server-side runtimes. The tool manages binary optimization to reduce file sizes and improve execution speed. It also functions as a package manager, bundling compiled WebAssembly modules into archives compatible with JavaScript registries and bundlers. The project covers language interoperability through the automatic generation of TypeScript type definitions. It further

    Rust
    View on GitHub↗7,207
  • glideapps/quicktypeglideapps avatar

    glideapps/quicktype

    13,767View on GitHub↗

    Quicktype is a multi-language serialization tool and type generator. It converts JSON samples, JSON Schema definitions, and GraphQL schemas into strongly typed data structures and serialization logic across multiple programming languages. The system automates the data serialization workflow by generating boilerplate code to parse and serialize data. It transforms structured input definitions into executable code, providing the necessary encoders and decoders to move data between raw formats and typed objects.

    TypeScriptcpluspluscsharpelm
    View on GitHub↗13,767
  • webassembly/binaryenWebAssembly avatar

    WebAssembly/binaryen

    8,354View on GitHub↗

    Binaryen is a WebAssembly compiler toolchain and optimizer designed to transform, validate, and shrink binary modules. It provides a comprehensive intermediate representation framework that converts binary code into a single-assignment form to enable advanced program analysis and code transformation. The project includes a specialized transformation engine that applies iterative optimization passes to increase execution speed and reduce binary size. Additionally, it functions as a transpiler that translates WebAssembly binary modules into executable JavaScript for environments that lack nativ

    WebAssemblyc-plus-pluscompilersemscripten
    View on GitHub↗8,354
Compare all 30 related projects→

Frequently asked questions

What does mholt/json-to-go do?

json-to-go is a web-based tool for automatically generating Go structs from JSON input. It functions as a JSON to Go type generator, transforming unstructured JSON data or API responses into strongly typed source code structures.

What are the main features of mholt/json-to-go?

The main features of mholt/json-to-go are: Go Type Generators, JSON Type Generators, JSON-to-Go Generators, Recursive Type Mappings, Schema Inference Engines, Web-Based Schema Converters, WebAssembly Compilation, JSON and Data Parsing.

Which projects share features with mholt/json-to-go?

Projects with overlapping indexed features include: webassembly/binaryen — Binaryen is a WebAssembly compiler toolchain and optimizer designed to transform, validate, and shrink binary modules.… glideapps/quicktype — Quicktype is a multi-language serialization tool and type generator. It converts JSON samples, JSON Schema… stephenafamo/bob — This project is a database toolkit for Go that provides schema-to-object mapping, fluent query construction, and… wasm-bindgen/wasm-pack — wasm-pack is a build tool and workflow orchestrator for compiling Rust code to WebAssembly. It coordinates the… canadahonk/porffor — Porffor is an ahead-of-time compiler that converts JavaScript and TypeScript source code into native machine code or C… ballercat/walt — Walt is a transpiler and typed language that converts a JavaScript-like syntax into WebAssembly binary format. It…