add json to java classed