begin with genJson.