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/11/16 00:36:59 UTC

juneau-website git commit: Fix formatting.

Repository: juneau-website
Updated Branches:
  refs/heads/asf-site 16f6d2cb1 -> 1b1423cee


Fix formatting.

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

Branch: refs/heads/asf-site
Commit: 1b1423cee91407fdb63e9015029efce4d3ddf6c5
Parents: 16f6d2c
Author: JamesBognar <ja...@apache.org>
Authored: Wed Nov 15 19:36:57 2017 -0500
Committer: JamesBognar <ja...@apache.org>
Committed: Wed Nov 15 19:36:57 2017 -0500

----------------------------------------------------------------------
 content/marshall.html | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/juneau-website/blob/1b1423ce/content/marshall.html
----------------------------------------------------------------------
diff --git a/content/marshall.html b/content/marshall.html
index 2a6ea27..8ec2e18 100644
--- a/content/marshall.html
+++ b/content/marshall.html
@@ -175,26 +175,26 @@
 		<p class='bcode'>
 	<jc>// Create a serializer from scratch using a builder</jc>
 	JsonSerializer serializer = JsonSerializer.<jsm>create</jsm>()
-		.simple()  <jc>// Simple mode</jc>
-		.sq()  <jc>// Use single quotes</jc>
-		.pojoSwaps(   <jc>// Swap unserializable classes with surrogate POJOs</jc>
-			IteratorSwap.<jk>class</jk>, <jc>// Iterators swapped with lists</jc>
-			ByteArrayBase64Swap.<jk>class</jk>, <jc>// byte[] swapped with base-64 encoded strings</jc>
-			CalendarSwap.ISO8601DT.<jk>class</jk> <jc>// Calendars swapped with ISO8601-compliant strings</jc>
+		.simple()                                  <jc>// Simple mode</jc>
+		.sq()                                      <jc>// Use single quotes</jc>
+		.pojoSwaps(                                <jc>// Swap unserializable classes with surrogate POJOs</jc>
+			IteratorSwap.<jk>class</jk>,           <jc>// Iterators swapped with lists</jc>
+			ByteArrayBase64Swap.<jk>class</jk>,    <jc>// byte[] swapped with base-64 encoded strings</jc>
+			CalendarSwap.ISO8601DT.<jk>class</jk>  <jc>// Calendars swapped with ISO8601-compliant strings</jc>
 		)
 		.beanFilters(MyBeanFilter.<jk>class</jk>)  <jc>// Control how bean properties are handled</jc>
-		.timeZone(TimeZone.<jsf>GMT</jsf>)  <jc>// For serializing Calendars</jc>
-		.locale(Locale.<jsf>JAPAN</jsf>)  <jc>// For timezone-specific serialization</jc>
-		.sortCollections(<jk>true</jk>)  <jc>// For locale-specific serialization</jc>
-		.sortProperties(<jk>true</jk>)  <jc>// Various behavior settings</jc>
+		.timeZone(TimeZone.<jsf>GMT</jsf>)         <jc>// For serializing Calendars</jc>
+		.locale(Locale.<jsf>JAPAN</jsf>)           <jc>// For timezone-specific serialization</jc>
+		.sortCollections(<jk>true</jk>)            <jc>// For locale-specific serialization</jc>
+		.sortProperties(<jk>true</jk>)             <jc>// Various behavior settings</jc>
 		.trimNullProperties(<jk>true</jk>)
 		.trimStrings(<jk>true</jk>)
-		.methodVisibility(<jsf>PROTECTED</jsf>)  <jc>// Control which fields/methods are serialized</jc>
-		.beanDictionary(  <jc>// Adds type variables for resolution during parsing</jc>
+		.methodVisibility(<jsf>PROTECTED</jsf>)    <jc>// Control which fields/methods are serialized</jc>
+		.beanDictionary(                           <jc>// Adds type variables for resolution during parsing</jc>
 			MyBeanA.<jk>class</jk>, 
 			MyBeanB.<jk>class</jk>
 		)
-		.debug(<jk>true</jk>)  <jc>// Add debug output</jc>
+		.debug(<jk>true</jk>)                      <jc>// Add debug output</jc>
 		.build();
 	   
 	<jc>// Same as above, but using named properties.</jc>