|
|
|
Ask HN: Tools to declare typed structs across languages
|
|
2 points
by dpkrjb
1292 days ago
|
|
Hi HN, Can someone help point me in the right direction? I'm looking for a tool to simplify the code generation of typed structs across platforms. This (boring) tool would allow me to: 1. Declare the schema of many data types 2. Use the schema to generate structs from those data types in multiple languages (Golang, Typescript, Dart) 3. Easily serialize and deserialize those types to and from JSON My Google-fu seems to be pretty awful because I cannot find a single tool that allows me to declare a type schema without it also being an alternative to JSON. Any boring solutions out there? |
|