原创 json無法解析Unrecognized token:was expecting (‘true’, ‘false’ or ‘null’)

fasterxml: Unrecognized token ‘open’: was expecting (‘true’, ‘false’ or ‘null’) 代碼片段 public class JsonUtil {

原创 linux 截取一段時間的日誌

在Linux上截取一段時間內的日誌: 命令:sed  -n p  -n∶取消默認的輸出  p:打印,通常 p 會與參數 sed -n 一起用 1:查詢某段時間到當前時間的日誌: 查詢5.20號到當前時間的日誌,$表示日誌最後一行,le

原创 RestTemplate返回值中文亂碼問題

目錄 問題 排查問題 修改問題: 測試: 問題 在使用RestTemplate 方法:postForEntity(String url, Object request, Class<T> responseType, Object...