From 5d3b590ffc2b5f3ab419501465fb37fe74a4953d Mon Sep 17 00:00:00 2001 From: Alanscut Date: Sat, 19 Oct 2019 16:55:42 +0800 Subject: [PATCH] quotes need in 3.0 which is diffrent from 2.x --- subprojects/guide/src/docs/asciidoc/usage.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/guide/src/docs/asciidoc/usage.adoc b/subprojects/guide/src/docs/asciidoc/usage.adoc index cd158c29..3c88d9ab 100644 --- a/subprojects/guide/src/docs/asciidoc/usage.adoc +++ b/subprojects/guide/src/docs/asciidoc/usage.adoc @@ -87,7 +87,7 @@ JSONObject jsonObject = JSONObject.fromObject( new MyBean() ); System.out.println( jsonObject ); /* prints {"name":"json","pojoId":1,"options":["a","f"], - "func1":function(i){ return this.options[i];}, + "func1":"function(i){ return this.options[i];}", "func2":function(i){ return this.options[i];}} */ ----