Category "xtext"

How to quickly convert java / json to Xtext langauge?

I am working on an app that processes incoming Json's and I want to easily extract the json data and convert it to a DSL language I'v created using Xtext. My go

Type mismatch: cannot convert from Class<RulesGenerator> to Class<? extends IGenerator2> xtest error

I am using this Xtest code to create a demo homeAutomation language github source but when the automatic code is generated i am getting errors in file Abstract