JSONWithPadding 的结果最后缺少分号:
JSONWithPadding jsonWithPadding = new JSONWithPadding({"key":"value"}, "cb");
return Response.status(200).entity(jsonWithPadding).build();
预期的:
cb({"key":"value"}); --> with semicolon
实际的:
cb({"key":"value"}) --> without semicolon
有任何想法吗?