---
title: "Argument [JSONObject] is of type Model or Map but is not assignable from the act"
author: "samwalt"
date: "2016-05-30T15:16:48Z"
tags: []
categories: ["编程语言"]
slug: "argument-jsonobject-is-of-type-model-or-map-but-is-not-assignable-from-the-act"
draft: false
lastmod: "2016-05-30T15:16:48Z"
id: 2301902
url: "https://samwalt.iteye.com/blog/2301902"
---

```java
/**
 * 参数前加上@RequestBody即可
 */
@RequestBody JSONObject json
```