Repository: incubator-juneau-website Updated Branches: refs/heads/asf-site 6199dca0d -> 472ed95fd
Fix indentation issue. 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/472ed95f Tree: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/tree/472ed95f Diff: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/diff/472ed95f Branch: refs/heads/asf-site Commit: 472ed95fdb1173c88c321a8d6e0c5376c607f47c Parents: 6199dca Author: JamesBognar <[email protected]> Authored: Thu May 11 15:47:15 2017 -0400 Committer: JamesBognar <[email protected]> Committed: Thu May 11 15:47:15 2017 -0400 ---------------------------------------------------------------------- content/about.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/472ed95f/content/about.html ---------------------------------------------------------------------- diff --git a/content/about.html b/content/about.html index d3e043b..028924e 100644 --- a/content/about.html +++ b/content/about.html @@ -211,26 +211,26 @@ <p class='bcode'> <jc>// Create a serializer from scratch using a builder</jc> JsonSerializer serializer = <jk>new</jk> JsonSerializerBuilder() - .simple() <jc>// Simple mode</jc> - .sq() <jc>// Use single quotes</jc> - .pojoSwaps( <jc>// Swap unserializable classes with surrogate POJOs</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>, ByteArrayBase64Swap.<jk>class</jk>, CalendarSwap.ISO8601DT.<jk>class</jk>, ) .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>// Clone an existing serializer and modify it to use single-quotes</jc>
