---
title: "json content type"
author: "jlcon"
date: "2016-09-08T11:34:41Z"
tags: []
categories: ["企业架构"]
slug: "json-content-type"
draft: false
lastmod: "2016-09-08T11:35:34Z"
id: 2323288
url: "https://jlcon.iteye.com/blog/2323288"
---

@Controller  
@RequestMapping(value = "/pets/{petId}", method = RequestMethod.GET, produces="application/json")  
@ResponseBody