Json
@Within
一息尚存,希望不灭。
展开
-
Json
介绍 JSON JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式。易于人阅读和编写。同时也易于机器解析和生成。它基于JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999的一个子集。 JSON采用完全独立于语言的文本格式,但是也使用了类似于C语言家...原创 2018-07-14 15:36:36 · 146 阅读 · 0 评论 -
SpringBoot返回json数据
1、使用Spring InitialLizr快速搭建一个Spring Boot项目· 2 、新建一个实体类User /** * Created by Wsy on 2018-10-23 返回Json数据实体类 */ public class User { private int id; private String username; private Stri...原创 2018-10-23 13:28:07 · 534 阅读 · 0 评论 -
org.springframework.web.HttpMediaTypeNotSupportContent type 'text/plain;charset=UTF-8' not supported
前提:我是使用postman发送请求时,报的这个异常 2016-11-02 10:35:50,142 ERROR [http-bio-8080-exec-1] [com.confucian.framework.web.exception.ExceptionControllerAdvice:143] - <rqid:188-75-5c5c56df-1cb8-4afa-a74c-698f146d...原创 2019-03-08 10:33:48 · 1247 阅读 · 0 评论