-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function: Support create single file with static inner classes #60
Comments
hmm... |
+1, personally interested in this combined with kotlin data classes |
+1 for Kotlin data classes in one file. Thats how I generally create JSON domain classes due to Kotlins brevity. |
+1 😄 |
+1 and insert generated code to selected place |
+1 For example: a trend data graph json{ "label": "vcpu/vmem/ssd/ssdb/hdd", "unit": "Core/GB/TiB/TiB/TiB", "graph": { "time": [ 1719108000000, 1719194400000], "regions": ["yz"," jsy"], "series": ["Independent", "Dedicated"], "values": [ { "region": "yz", "datas": [ { "type": "Independent", "total": [ 5, 5 ], "daily": [ 5, 5], "released": [ 5,5 ] }, { "type": "Dedicated", "total": [ 5, 5 ], "daily": [ 5, 5], "released": [ 5,5 ] } ] }, { "region": "jsy", "datas": [ { "type": "Independent", "total": [ 5, 5 ], "daily": [ 5, 5], "released": [ 5,5 ] }, { "type": "Dedicated", "total": [ 5, 5 ], "daily": [ 5, 5], "released": [ 5,5 ] } ] } ] } } nested class would be better. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @robohorse . Instead of create separate file for each object. I want to output only one class object like the example below.
Can you support function above. Thank
The text was updated successfully, but these errors were encountered: