JsonToKotlinClass
JsonToKotlinClass copied to clipboard
JsonToKotlinClass webpage support
Apply JsonToKotlinClass Function into webpage, So Anyone could have another method to use JsonToKotlinClass withou to download and install IDE, I think it it useful for some one type code in light-weight IDE such as Sublime,Atom, Text and so on.
Let's do this (y)
API is ready to use.
Sample:
curl -X POST \
http://jsontokotlin.online:8080/generate \
-H 'content-type: application/json' \
-d '{
"json":"{\"name\":\"theapache64\"}",
"class_name":"TheApache"
}'
For now, the accepted params can be identifed from this file. We'll create a clear documentation in time.
It works again on this API
curl -X POST \
https://jsontokotlin.sealwu.com/generate \
-H 'content-type: application/json' \
-d '{
"json":"{\"name\":\"theapache64\"}",
"className":"TheApache"
}'
Simple Website here: https://wuseal.github.io/JsonToKotlinClassWeb/