blob: a49d9e11ba8c498d945d5c2995dff52c4d4ecf48 [file] [log] [blame]
<!--
/***************************************************************************************************************************
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
***************************************************************************************************************************/
-->
JSON Serializers
<p>
The {@link oaj.json.JsonSerializer} class is used to serialize POJOs into JSON.
</p>
<p>
The JSON serializer provides the following settings:
</p>
<ul class='javatree'>
<li class='link'>{@doc juneau-marshall.ConfigurableProperties.Common Common Properties}
<li class='link'>{@doc juneau-marshall.ConfigurableProperties.CommonSerializer Common Serializer Properties}
<li class='jc'>{@link oaj.json.JsonSerializer}
<ul>
<li class='jf'>{@link oaj.json.JsonSerializer#JSON_addBeanTypes JSON_addBeanTypes}
<li class='jf'>{@link oaj.json.JsonSerializer#JSON_escapeSolidus JSON_escapeSolidus}
<li class='jf'>{@link oaj.json.JsonSerializer#JSON_simpleMode JSON_simpleMode}
</ul>
</ul>
<p>
The following pre-configured serializers are provided for convenience:
</p>
<ul class='javatree'>
<li class='jc'>{@link oaj.json.JsonSerializer}
<ul>
<li class='jf'>{@link oaj.json.JsonSerializer#DEFAULT DEFAULT}
<li class='jf'>{@link oaj.json.JsonSerializer#DEFAULT_READABLE DEFAULT_READABLE}
</ul>
<li class='jc'>{@link oaj.json.SimpleJsonSerializer}
<ul>
<li class='jf'>{@link oaj.json.SimpleJsonSerializer#DEFAULT DEFAULT}
<li class='jf'>{@link oaj.json.SimpleJsonSerializer#DEFAULT_READABLE DEFAULT_READABLE}
</ul>
</ul>