add json to use online java generator