Comments (6)
I just encountered this and came to file this exact issue.
I'd be willing to take a look (given the tag).
Incidentally, this tool is a boon to anyone using a public API that produces extremely verbose structures. Thank you! ❤️ 🙏
from json-to-go.
@michaelsanford Are you still working on this?
from json-to-go.
@michaelsanford Yes, would be happy to have your contribution! Thank you!
from json-to-go.
@Capable-Disk4147 My gosh, this one slipped under my radar. Many apologies: I am not.
from json-to-go.
I should be able to take a look, but I'm AFK a bit ATM so if someone else is keen then feel free
from json-to-go.
I encountered the same problem, here is my simplified example for inspiration.
{
"dimensionCounts": [
{
"label": {
"de_de": "Mitarbeiter",
"ja_jp": "\u5F93\u696D\u54E1"
}
},
{
"label": {
"fr_fr": "Qualifications",
"de_de": "Qualifikationen"
}
}
]
}
DimensionCounts []struct {
Label struct {
DeDe string `json:"de_de"`
JaJp string `json:"ja_jp"`
FrFr string `json:"fr_fr"`
} `json:"label,omitempty"`
} `json:"dimensionCounts"`
I will have a look at the code later to see if I can help
from json-to-go.
Related Issues (20)
- Use placeholder for emptyInputMsg and emptyOutputMsg HOT 1
- Add support for "example" annotation used by Swaggo
- Pasting from terminal window into entry box includes hidden formatting which breaks parsing HOT 1
- JSON key "2.0" gets converted to "2.1" struct tag HOT 4
- omitempty setting HOT 2
- Create a VSCode extension version of this
- value-strings containing <x,html tags> break parsing HOT 2
- Error when not using inline type definitions
- Elaborate on the error [feature suggestion] HOT 1
- I want you to publish JSON-to-Go as an npm package HOT 2
- Incorrect Struct with JSONs which have the same key. HOT 2
- Add BSON support HOT 2
- Is there a online tool converting go struct to json? HOT 3
- Greedy time regex HOT 1
- Error on parsing regExp as String HOT 1
- outdated: https://mholt.github.io/json-to-go/ HOT 1
- it not working now HOT 1
- VSCode Extension ? HOT 6
- mholt.github.io/json-to-go isn't outputting CamelCase as expected HOT 3
- data field parsed as []int instead of []float32/64 HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from json-to-go.