Search AnyKit Tools

Type a tool name, tag, or category to quickly open any tool instantly.

AnyKit
AnyKit App

JSON to Go Struct

Convert JSON to Go data structures

JSON Input
Go Struct Definitions
type Metadata struct {
  LoginCount int `json:"login_count"`
  LastIp string `json:"last_ip"`
}

type AutoGenerated struct {
  Id int `json:"id"`
  Username string `json:"username"`
  IsActive bool `json:"is_active"`
  Metadata Metadata `json:"metadata"`
  Tags []string `json:"tags"`
}

Key Features

Automatic PascalCase
JSON Tagging
Nested Struct Support
Type Inference