Repository: incubator-groovy Updated Branches: refs/heads/GROOVY_2_4_X 4631ee52c -> ffefe2810
Documentation: Json userguide should have links to JsonBuilder and StreamingJsonBuilder as requested in https://github.com/apache/incubator-groovy/pull/62) Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/ffefe281 Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/ffefe281 Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/ffefe281 Branch: refs/heads/GROOVY_2_4_X Commit: ffefe28100907b0a10734be742dd1ea4336fde53 Parents: 4631ee5 Author: pascalschumacher <pascalschumac...@gmx.net> Authored: Sat Jul 18 12:01:22 2015 +0200 Committer: pascalschumacher <pascalschumac...@gmx.net> Committed: Sat Jul 18 12:01:22 2015 +0200 ---------------------------------------------------------------------- subprojects/groovy-json/src/spec/doc/json-userguide.adoc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/ffefe281/subprojects/groovy-json/src/spec/doc/json-userguide.adoc ---------------------------------------------------------------------- diff --git a/subprojects/groovy-json/src/spec/doc/json-userguide.adoc b/subprojects/groovy-json/src/spec/doc/json-userguide.adoc index 99bdb99..08a4531 100644 --- a/subprojects/groovy-json/src/spec/doc/json-userguide.adoc +++ b/subprojects/groovy-json/src/spec/doc/json-userguide.adoc @@ -187,8 +187,9 @@ include::{rootProjectDir}/subprojects/groovy-json/src/spec/test/json/JsonTest.gr `prettyPrint` takes a `String` as single parameter. It must not be used in conjunction with the other `JsonOutput` methods, it can be applied on arbitrary JSON `String` instances. -Another way to create JSON from Groovy is to use the `JsonBuilder` or `StreamingJsonBuilder`. Both builders provide a -DSL which allows to formulate an object graph which is then converted to JSON at some point. +Another way to create JSON from Groovy is to use `JsonBuilder` or `StreamingJsonBuilder`. Both builders provide a +DSL which allows to formulate an object graph which is then converted to JSON. [NOTE] -For more details on builders, have a look at the builders chapter which covers both JSON builders in great depth. +For more details on builders, have a look at the builders chapter which covers both <<core-domain-specific-languages.adoc#_jsonbuilder,JsonBuilder>> +and <<core-domain-specific-languages.adoc#_streamingjsonbuilder,StreamingJsonBuilder>>.