---
title: "使用Gson将对象类转成Json对象时出现\\u003d 、\\u0027等情况的问题"
author: "caichenglong"
date: "2019-01-09T10:30:49Z"
tags: []
categories: ["Web前端"]
slug: "gson-json-u003d-u0027"
draft: false
lastmod: "2019-01-09T10:30:49Z"
id: 2436327
url: "https://caichenglong.iteye.com/blog/2436327"
---

```
Gson gson = new GsonBuilder().disableHtmlEscaping().create();
String json=gson.toJson(param.args[0]);
Log.i(TAG,"第二种rawQuery  1参数 " +json);
```