spring-boot 從零開始-02

通過spring-boot 返回json數據 1.創建一個實體類 2.以json的格式將實體類返回去 3.使用第三方的json框架 4.spring-boot的熱部署 1.創建一個實體類 在上一章中創建一個spring-boot工程: new -> 一個新class,取名爲JSONDemo,代碼如下: package com.avalanching.spring_hellow.model; im
相關文章
相關標籤/搜索