blob: 4cacc7a58991d9b2b06c4f379f3331869613975e [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 Parsers
<p>
The {@link oaj.json.JsonParser} class is used to parse JSON into POJOs.
</p>
<p>
The JSON parser 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.CommonParser Common Parser Properties}
<li class='jc'>{@link oaj.json.JsonParser}
<ul>
<li class='jf'>{@link oaj.json.JsonParser#JSON_validateEnd JSON_validateEnd}
</ul>
</ul>
<p>
The following pre-configured parsers are provided for convenience:
</p>
<ul class='javatree'>
<li class='jc'>{@link oaj.json.JsonParser}
<ul>
<li class='jf'>{@link oaj.json.JsonParser#DEFAULT DEFAULT}
<li class='jf'>{@link oaj.json.JsonParser#DEFAULT_STRICT DEFAULT_STRICT}
</ul>
</ul>
<p>
The JSON parser supports ALL valid JSON, including:
</p>
<ul class='spaced-list'>
<li>
Javascript comments.
<li>
Single or double quoted values.
<li>
Quoted (strict) or unquoted (non-strict) attributes.
<li>
JSON fragments (such as string, numeric, or boolean primitive values).
<li>
Concatenated strings.
</ul>