test publish by json