JSON இலிருந்து Go struct
JSON இலிருந்து Go struct
உங்கள் உலாவியில் இயங்குகிறது · பதிவேற்றம் இல்லை
இந்தக் கருவியும் இந்தப் பக்கத்தின் வழிமுறைகளும் தற்போது ஆங்கிலத்தில் உள்ளன. அது அதே போல் வேலை செய்கிறது: எல்லாம் உங்கள் உலாவியிலேயே இயங்குகிறது.
Generate Go
இந்தக் கருவியை இயக்க உங்கள் உலாவி மிகவும் பழையது. அதைப் புதுப்பிக்கவும், அல்லது Chrome, Edge, Firefox அல்லது Safari-இன் தற்போதைய பதிப்பைப் பயன்படுத்தவும்.
- எதுவும் உங்கள் சாதனத்தை விட்டு வெளியேறாது
- சேவையகத்திலிருந்து அளவு வரம்பு இல்லை
- பதிவு இல்லை, வாட்டர்மார்க் இல்லை
- இலவசம்
How to convert JSON to Go
- Paste your JSON, or try the example.
- Choose omitempty and pointers for nullable fields.
- Copy or download the Go code.
What you get
- A struct for every object, with fields lined up as gofmt does.
- Go names with common initialisms (ID, URL, HTTP, JSON) and json tags with the original keys.
- int64 for whole numbers and float64 for decimals.
- omitempty for fields missing from some items, and *T for fields that can be null.
அடிக்கடி கேட்கப்படும் கேள்விகள்
Is my JSON uploaded?
No. Everything happens in your browser, and the page is blocked from uploading anything.