Return-Path: X-Original-To: apmail-groovy-commits-archive@minotaur.apache.org Delivered-To: apmail-groovy-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5415F18783 for ; Sat, 18 Jul 2015 10:02:02 +0000 (UTC) Received: (qmail 96974 invoked by uid 500); 18 Jul 2015 10:02:02 -0000 Delivered-To: apmail-groovy-commits-archive@groovy.apache.org Received: (qmail 96939 invoked by uid 500); 18 Jul 2015 10:02:02 -0000 Mailing-List: contact commits-help@groovy.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.incubator.apache.org Delivered-To: mailing list commits@groovy.incubator.apache.org Received: (qmail 96930 invoked by uid 99); 18 Jul 2015 10:02:01 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Jul 2015 10:02:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 6F4D7D58D4 for ; Sat, 18 Jul 2015 10:02:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.574 X-Spam-Level: X-Spam-Status: No, score=0.574 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-1.227, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id opS1n1elbc9u for ; Sat, 18 Jul 2015 10:01:51 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id 63FC543A5B for ; Sat, 18 Jul 2015 10:01:51 +0000 (UTC) Received: (qmail 96909 invoked by uid 99); 18 Jul 2015 10:01:50 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Jul 2015 10:01:50 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 74ACCE038A; Sat, 18 Jul 2015 10:01:50 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: pascalschumacher@apache.org To: commits@groovy.incubator.apache.org Message-Id: <99549812fa8d4f6f980ee365b19bfa28@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-groovy git commit: Documentation: Json userguide should have links to JsonBuilder and StreamingJsonBuilder as requested in https://github.com/apache/incubator-groovy/pull/62) Date: Sat, 18 Jul 2015 10:01:50 +0000 (UTC) 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 Authored: Sat Jul 18 12:01:22 2015 +0200 Committer: pascalschumacher 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 <> +and <>.