You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juneau.apache.org by ja...@apache.org on 2017/09/12 13:42:19 UTC

incubator-juneau-website git commit: Add info about DTO toString() method.

Repository: incubator-juneau-website
Updated Branches:
  refs/heads/asf-site 294a19efa -> 6cd15541a


Add info about DTO toString() method.

Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/commit/6cd15541
Tree: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/tree/6cd15541
Diff: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/diff/6cd15541

Branch: refs/heads/asf-site
Commit: 6cd15541ab07cfad10047274898251b17cd4a684
Parents: 294a19e
Author: JamesBognar <ja...@apache.org>
Authored: Tue Sep 12 09:42:16 2017 -0400
Committer: JamesBognar <ja...@apache.org>
Committed: Tue Sep 12 09:42:16 2017 -0400

----------------------------------------------------------------------
 .gitignore                        |   1 +
 content/about2.html               |   4 ++++
 content/images/juneau1_square.png | Bin 0 -> 348468 bytes
 3 files changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/6cd15541/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index a05104b..8082313 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ _site
 .jekyll-metadata
 .idea
 *.iml
+/.DS_Store

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/6cd15541/content/about2.html
----------------------------------------------------------------------
diff --git a/content/about2.html b/content/about2.html
index bcc18e6..6fba362 100644
--- a/content/about2.html
+++ b/content/about2.html
@@ -868,6 +868,10 @@
 				Note that these DTOs can also be serialized to any of the other supported languages such as JSON or MessagePack!
 				And they can be parsed back into their original objects!
 			</p>
+			<p>
+				As a convenience, you can also simply call <code>toString()</code> on any of these DTOs and they will
+				be serialized directly to a string in the typical language (e.g. HTML5 beans to HTML, Swagger to JSON, etc...).
+			</p>
 			
 			<ul class='doctree'>
 				<li class='link'>See <a class='doclink' href='http://juneau.incubator.apache.org/site/apidocs/overview-summary.html#DTOs'>Juneau Data Transfer Objects</a> for more information.

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/6cd15541/content/images/juneau1_square.png
----------------------------------------------------------------------
diff --git a/content/images/juneau1_square.png b/content/images/juneau1_square.png
new file mode 100644
index 0000000..45dfd08
Binary files /dev/null and b/content/images/juneau1_square.png differ