Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JSON to Scala code generation

I have a JSON which is an output of another application, I want to make dynamic Scala code (*.scala file ) from this JSON (can not pre define class/bean as the JSON structure depends many other parameters). Is there any API available for this ?

like image 778
Isabel Jinson Avatar asked Dec 01 '25 06:12

Isabel Jinson


1 Answers

You can use something like below:

http://json2caseclass.cleverapps.io/

https://www.reddit.com/r/scala/comments/36m951/json2caseclass_a_tool_to_generate_scala_case/

like image 132
ashwinsakthi Avatar answered Dec 02 '25 20:12

ashwinsakthi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!