Update JavaDoc, it's been awhile

This commit is contained in:
Sean Leary 2025-01-13 11:15:53 -06:00
parent 65ab70893c
commit a449b3ef5c
41 changed files with 15477 additions and 9695 deletions

View File

@ -0,0 +1,45 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>All Classes</title>
<meta name="date" content="2025-01-12">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<h1 class="bar">All&nbsp;Classes</h1>
<div class="indexContainer">
<ul>
<li><a href="org/json/CDL.html" title="class in org.json" target="classFrame">CDL</a></li>
<li><a href="org/json/Cookie.html" title="class in org.json" target="classFrame">Cookie</a></li>
<li><a href="org/json/CookieList.html" title="class in org.json" target="classFrame">CookieList</a></li>
<li><a href="org/json/HTTP.html" title="class in org.json" target="classFrame">HTTP</a></li>
<li><a href="org/json/HTTPTokener.html" title="class in org.json" target="classFrame">HTTPTokener</a></li>
<li><a href="org/json/JSONArray.html" title="class in org.json" target="classFrame">JSONArray</a></li>
<li><a href="org/json/JSONException.html" title="class in org.json" target="classFrame">JSONException</a></li>
<li><a href="org/json/JSONML.html" title="class in org.json" target="classFrame">JSONML</a></li>
<li><a href="org/json/JSONMLParserConfiguration.html" title="class in org.json" target="classFrame">JSONMLParserConfiguration</a></li>
<li><a href="org/json/JSONObject.html" title="class in org.json" target="classFrame">JSONObject</a></li>
<li><a href="org/json/JSONParserConfiguration.html" title="class in org.json" target="classFrame">JSONParserConfiguration</a></li>
<li><a href="org/json/JSONPointer.html" title="class in org.json" target="classFrame">JSONPointer</a></li>
<li><a href="org/json/JSONPointer.Builder.html" title="class in org.json" target="classFrame">JSONPointer.Builder</a></li>
<li><a href="org/json/JSONPointerException.html" title="class in org.json" target="classFrame">JSONPointerException</a></li>
<li><a href="org/json/JSONPropertyIgnore.html" title="annotation in org.json" target="classFrame">JSONPropertyIgnore</a></li>
<li><a href="org/json/JSONPropertyName.html" title="annotation in org.json" target="classFrame">JSONPropertyName</a></li>
<li><a href="org/json/JSONString.html" title="interface in org.json" target="classFrame"><span class="interfaceName">JSONString</span></a></li>
<li><a href="org/json/JSONStringer.html" title="class in org.json" target="classFrame">JSONStringer</a></li>
<li><a href="org/json/JSONTokener.html" title="class in org.json" target="classFrame">JSONTokener</a></li>
<li><a href="org/json/JSONWriter.html" title="class in org.json" target="classFrame">JSONWriter</a></li>
<li><a href="org/json/ParserConfiguration.html" title="class in org.json" target="classFrame">ParserConfiguration</a></li>
<li><a href="org/json/Property.html" title="class in org.json" target="classFrame">Property</a></li>
<li><a href="org/json/StringBuilderWriter.html" title="class in org.json" target="classFrame">StringBuilderWriter</a></li>
<li><a href="org/json/XML.html" title="class in org.json" target="classFrame">XML</a></li>
<li><a href="org/json/XMLParserConfiguration.html" title="class in org.json" target="classFrame">XMLParserConfiguration</a></li>
<li><a href="org/json/XMLTokener.html" title="class in org.json" target="classFrame">XMLTokener</a></li>
<li><a href="org/json/XMLXsiTypeConverter.html" title="interface in org.json" target="classFrame"><span class="interfaceName">XMLXsiTypeConverter</span></a></li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,45 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>All Classes</title>
<meta name="date" content="2025-01-12">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<h1 class="bar">All&nbsp;Classes</h1>
<div class="indexContainer">
<ul>
<li><a href="org/json/CDL.html" title="class in org.json">CDL</a></li>
<li><a href="org/json/Cookie.html" title="class in org.json">Cookie</a></li>
<li><a href="org/json/CookieList.html" title="class in org.json">CookieList</a></li>
<li><a href="org/json/HTTP.html" title="class in org.json">HTTP</a></li>
<li><a href="org/json/HTTPTokener.html" title="class in org.json">HTTPTokener</a></li>
<li><a href="org/json/JSONArray.html" title="class in org.json">JSONArray</a></li>
<li><a href="org/json/JSONException.html" title="class in org.json">JSONException</a></li>
<li><a href="org/json/JSONML.html" title="class in org.json">JSONML</a></li>
<li><a href="org/json/JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a></li>
<li><a href="org/json/JSONObject.html" title="class in org.json">JSONObject</a></li>
<li><a href="org/json/JSONParserConfiguration.html" title="class in org.json">JSONParserConfiguration</a></li>
<li><a href="org/json/JSONPointer.html" title="class in org.json">JSONPointer</a></li>
<li><a href="org/json/JSONPointer.Builder.html" title="class in org.json">JSONPointer.Builder</a></li>
<li><a href="org/json/JSONPointerException.html" title="class in org.json">JSONPointerException</a></li>
<li><a href="org/json/JSONPropertyIgnore.html" title="annotation in org.json">JSONPropertyIgnore</a></li>
<li><a href="org/json/JSONPropertyName.html" title="annotation in org.json">JSONPropertyName</a></li>
<li><a href="org/json/JSONString.html" title="interface in org.json"><span class="interfaceName">JSONString</span></a></li>
<li><a href="org/json/JSONStringer.html" title="class in org.json">JSONStringer</a></li>
<li><a href="org/json/JSONTokener.html" title="class in org.json">JSONTokener</a></li>
<li><a href="org/json/JSONWriter.html" title="class in org.json">JSONWriter</a></li>
<li><a href="org/json/ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></li>
<li><a href="org/json/Property.html" title="class in org.json">Property</a></li>
<li><a href="org/json/StringBuilderWriter.html" title="class in org.json">StringBuilderWriter</a></li>
<li><a href="org/json/XML.html" title="class in org.json">XML</a></li>
<li><a href="org/json/XMLParserConfiguration.html" title="class in org.json">XMLParserConfiguration</a></li>
<li><a href="org/json/XMLTokener.html" title="class in org.json">XMLTokener</a></li>
<li><a href="org/json/XMLXsiTypeConverter.html" title="interface in org.json"><span class="interfaceName">XMLXsiTypeConverter</span></a></li>
</ul>
</div>
</body>
</html>

View File

@ -1,118 +1,220 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>Constant Field Values</title> <title>Constant Field Values</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="summary of constants">
<meta name="generator" content="javadoc/ConstantsSummaryWriterImpl">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="script.js"></script>
<script type="text/javascript" src="script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="constants-summary-page"> <body>
<script type="text/javascript">var pathtoroot = "./"; <script type="text/javascript"><!--
loadScripts(document, 'script');</script> try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Constant Field Values";
}
}
catch(err) {
}
//-->
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="org/json/package-summary.html">Package</a></li> <li><a href="org/json/package-summary.html">Package</a></li>
<li>Class</li> <li>Class</li>
<li><a href="org/json/package-tree.html">Tree</a></li> <li><a href="org/json/package-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li> <li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li> <li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html#constant-values">Help</a></li> <li><a href="help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <ul class="navList">
<input type="text" id="search-input" value="search" disabled="disabled"> <li>Prev</li>
<input type="reset" id="reset-button" value="reset" disabled="disabled"> <li>Next</li>
</div> </ul>
<ul class="navList">
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
<li><a href="constant-values.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<div class="header"> <div class="header">
<h1 title="Constant Field Values" class="title">Constant Field Values</h1> <h1 title="Constant Field Values" class="title">Constant Field Values</h1>
<section class="packages">
<h2 title="Contents">Contents</h2> <h2 title="Contents">Contents</h2>
<ul> <ul>
<li><a href="#org.json">org.json.*</a></li> <li><a href="#org.json">org.json.*</a></li>
</ul> </ul>
</section>
</div> </div>
<section class="constants-summary" id="org.json"> <div class="constantValuesContainer"><a name="org.json">
<!-- -->
</a>
<h2 title="org.json">org.json.*</h2> <h2 title="org.json">org.json.*</h2>
<ul class="block-list"> <ul class="blockList">
<li> <li class="blockList">
<div class="caption"><span>org.json.<a href="org/json/HTTP.html" title="class in org.json">HTTP</a></span></div> <table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values">
<div class="summary-table three-column-summary"> <caption><span>org.json.<a href="org/json/HTTP.html" title="class in org.json">HTTP</a></span><span class="tabEnd">&nbsp;</span></caption>
<div class="table-header col-first">Modifier and Type</div> <tr>
<div class="table-header col-second">Constant Field</div> <th class="colFirst" scope="col">Modifier and Type</th>
<div class="table-header col-last">Value</div> <th scope="col">Constant Field</th>
<div class="col-first even-row-color"><code id="org.json.HTTP.CRLF">public&nbsp;static&nbsp;final&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> <th class="colLast" scope="col">Value</th>
<div class="col-second even-row-color"><code><a href="org/json/HTTP.html#CRLF">CRLF</a></code></div> </tr>
<div class="col-last even-row-color"><code>"\r\n"</code></div> <tbody>
</div> <tr class="altColor">
<td class="colFirst"><a name="org.json.HTTP.CRLF">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td><code><a href="org/json/HTTP.html#CRLF">CRLF</a></code></td>
<td class="colLast"><code>"\r\n"</code></td>
</tr>
</tbody>
</table>
</li> </li>
<li> <li class="blockList">
<div class="caption"><span>org.json.<a href="org/json/JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a></span></div> <table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values">
<div class="summary-table three-column-summary"> <caption><span>org.json.<a href="org/json/JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a></span><span class="tabEnd">&nbsp;</span></caption>
<div class="table-header col-first">Modifier and Type</div> <tr>
<div class="table-header col-second">Constant Field</div> <th class="colFirst" scope="col">Modifier and Type</th>
<div class="table-header col-last">Value</div> <th scope="col">Constant Field</th>
<div class="col-first even-row-color"><code id="org.json.JSONMLParserConfiguration.DEFAULT_MAXIMUM_NESTING_DEPTH">public&nbsp;static&nbsp;final&nbsp;int</code></div> <th class="colLast" scope="col">Value</th>
<div class="col-second even-row-color"><code><a href="org/json/JSONMLParserConfiguration.html#DEFAULT_MAXIMUM_NESTING_DEPTH">DEFAULT_MAXIMUM_NESTING_DEPTH</a></code></div> </tr>
<div class="col-last even-row-color"><code>512</code></div> <tbody>
</div> <tr class="altColor">
<td class="colFirst"><a name="org.json.JSONMLParserConfiguration.DEFAULT_MAXIMUM_NESTING_DEPTH">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;int</code></td>
<td><code><a href="org/json/JSONMLParserConfiguration.html#DEFAULT_MAXIMUM_NESTING_DEPTH">DEFAULT_MAXIMUM_NESTING_DEPTH</a></code></td>
<td class="colLast"><code>512</code></td>
</tr>
</tbody>
</table>
</li> </li>
<li> <li class="blockList">
<div class="caption"><span>org.json.<a href="org/json/ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></span></div> <table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values">
<div class="summary-table three-column-summary"> <caption><span>org.json.<a href="org/json/ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></span><span class="tabEnd">&nbsp;</span></caption>
<div class="table-header col-first">Modifier and Type</div> <tr>
<div class="table-header col-second">Constant Field</div> <th class="colFirst" scope="col">Modifier and Type</th>
<div class="table-header col-last">Value</div> <th scope="col">Constant Field</th>
<div class="col-first even-row-color"><code id="org.json.ParserConfiguration.DEFAULT_MAXIMUM_NESTING_DEPTH">public&nbsp;static&nbsp;final&nbsp;int</code></div> <th class="colLast" scope="col">Value</th>
<div class="col-second even-row-color"><code><a href="org/json/ParserConfiguration.html#DEFAULT_MAXIMUM_NESTING_DEPTH">DEFAULT_MAXIMUM_NESTING_DEPTH</a></code></div> </tr>
<div class="col-last even-row-color"><code>512</code></div> <tbody>
<div class="col-first odd-row-color"><code id="org.json.ParserConfiguration.UNDEFINED_MAXIMUM_NESTING_DEPTH">public&nbsp;static&nbsp;final&nbsp;int</code></div> <tr class="altColor">
<div class="col-second odd-row-color"><code><a href="org/json/ParserConfiguration.html#UNDEFINED_MAXIMUM_NESTING_DEPTH">UNDEFINED_MAXIMUM_NESTING_DEPTH</a></code></div> <td class="colFirst"><a name="org.json.ParserConfiguration.DEFAULT_MAXIMUM_NESTING_DEPTH">
<div class="col-last odd-row-color"><code>-1</code></div> <!-- -->
</div> </a><code>public&nbsp;static&nbsp;final&nbsp;int</code></td>
<td><code><a href="org/json/ParserConfiguration.html#DEFAULT_MAXIMUM_NESTING_DEPTH">DEFAULT_MAXIMUM_NESTING_DEPTH</a></code></td>
<td class="colLast"><code>512</code></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a name="org.json.ParserConfiguration.UNDEFINED_MAXIMUM_NESTING_DEPTH">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;int</code></td>
<td><code><a href="org/json/ParserConfiguration.html#UNDEFINED_MAXIMUM_NESTING_DEPTH">UNDEFINED_MAXIMUM_NESTING_DEPTH</a></code></td>
<td class="colLast"><code>-1</code></td>
</tr>
</tbody>
</table>
</li> </li>
<li> <li class="blockList">
<div class="caption"><span>org.json.<a href="org/json/XML.html" title="class in org.json">XML</a></span></div> <table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values">
<div class="summary-table three-column-summary"> <caption><span>org.json.<a href="org/json/XML.html" title="class in org.json">XML</a></span><span class="tabEnd">&nbsp;</span></caption>
<div class="table-header col-first">Modifier and Type</div> <tr>
<div class="table-header col-second">Constant Field</div> <th class="colFirst" scope="col">Modifier and Type</th>
<div class="table-header col-last">Value</div> <th scope="col">Constant Field</th>
<div class="col-first even-row-color"><code id="org.json.XML.NULL_ATTR">public&nbsp;static&nbsp;final&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> <th class="colLast" scope="col">Value</th>
<div class="col-second even-row-color"><code><a href="org/json/XML.html#NULL_ATTR">NULL_ATTR</a></code></div> </tr>
<div class="col-last even-row-color"><code>"xsi:nil"</code></div> <tbody>
<div class="col-first odd-row-color"><code id="org.json.XML.TYPE_ATTR">public&nbsp;static&nbsp;final&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> <tr class="altColor">
<div class="col-second odd-row-color"><code><a href="org/json/XML.html#TYPE_ATTR">TYPE_ATTR</a></code></div> <td class="colFirst"><a name="org.json.XML.NULL_ATTR">
<div class="col-last odd-row-color"><code>"xsi:type"</code></div> <!-- -->
</div> </a><code>public&nbsp;static&nbsp;final&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td><code><a href="org/json/XML.html#NULL_ATTR">NULL_ATTR</a></code></td>
<td class="colLast"><code>"xsi:nil"</code></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a name="org.json.XML.TYPE_ATTR">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td><code><a href="org/json/XML.html#TYPE_ATTR">TYPE_ATTR</a></code></td>
<td class="colLast"><code>"xsi:type"</code></td>
</tr>
</tbody>
</table>
</li> </li>
</ul> </ul>
</section>
</main>
</div> </div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="org/json/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="org/json/package-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
<li><a href="constant-values.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

View File

@ -1,96 +1,167 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>Deprecated List</title> <title>Deprecated List</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="deprecated elements">
<meta name="generator" content="javadoc/DeprecatedListWriter">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="script.js"></script>
<script type="text/javascript" src="script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="deprecated-list-page"> <body>
<script type="text/javascript">var pathtoroot = "./"; <script type="text/javascript"><!--
loadScripts(document, 'script');</script> try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Deprecated List";
}
}
catch(err) {
}
//-->
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="org/json/package-summary.html">Package</a></li> <li><a href="org/json/package-summary.html">Package</a></li>
<li>Class</li> <li>Class</li>
<li><a href="org/json/package-tree.html">Tree</a></li> <li><a href="org/json/package-tree.html">Tree</a></li>
<li class="nav-bar-cell1-rev">Deprecated</li> <li class="navBarCell1Rev">Deprecated</li>
<li><a href="index-all.html">Index</a></li> <li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html#deprecated">Help</a></li> <li><a href="help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <ul class="navList">
<input type="text" id="search-input" value="search" disabled="disabled"> <li>Prev</li>
<input type="reset" id="reset-button" value="reset" disabled="disabled"> <li>Next</li>
</div> </ul>
<ul class="navList">
<li><a href="index.html?deprecated-list.html" target="_top">Frames</a></li>
<li><a href="deprecated-list.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<div class="header"> <div class="header">
<h1 title="Deprecated API" class="title">Deprecated API</h1> <h1 title="Deprecated API" class="title">Deprecated API</h1>
<h2 title="Contents">Contents</h2> <h2 title="Contents">Contents</h2>
<ul> <ul>
<li><a href="#constructor">Constructors</a></li> <li><a href="#constructor">Deprecated Constructors</a></li>
</ul> </ul>
</div> </div>
<ul class="block-list"> <div class="contentContainer"><a name="constructor">
<li> <!-- -->
<div id="constructor"> </a>
<div class="caption"><span>Deprecated Constructors</span></div> <ul class="blockList">
<div class="summary-table two-column-summary"> <li class="blockList">
<div class="table-header col-first">Constructor</div> <table class="deprecatedSummary" border="0" cellpadding="3" cellspacing="0" summary="Deprecated Constructors table, listing deprecated constructors, and an explanation">
<div class="table-header col-last">Description</div> <caption><span>Deprecated Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<div class="col-summary-item-name even-row-color"><a href="org/json/XMLParserConfiguration.html#%3Cinit%3E(boolean)">org.json.XMLParserConfiguration<wbr>(boolean)</a></div> <tr>
<div class="col-last even-row-color"> <th class="colOne" scope="col">Constructor and Description</th>
<div class="deprecation-comment">This constructor has been deprecated in favor of using the new builder </tr>
<tbody>
<tr class="altColor">
<td class="colOne"><a href="org/json/XMLParserConfiguration.html#XMLParserConfiguration-boolean-">org.json.XMLParserConfiguration(boolean)</a>
<div class="block"><span class="deprecationComment">This constructor has been deprecated in favor of using the new builder
pattern for the configuration. pattern for the configuration.
This constructor may be removed in a future release.</div> This constructor may be removed in a future release.</span></div>
</div> </td>
<div class="col-summary-item-name odd-row-color"><a href="org/json/XMLParserConfiguration.html#%3Cinit%3E(boolean,java.lang.String)">org.json.XMLParserConfiguration<wbr>(boolean, String)</a></div> </tr>
<div class="col-last odd-row-color"> <tr class="rowColor">
<div class="deprecation-comment">This constructor has been deprecated in favor of using the new builder <td class="colOne"><a href="org/json/XMLParserConfiguration.html#XMLParserConfiguration-boolean-java.lang.String-">org.json.XMLParserConfiguration(boolean, String)</a>
<div class="block"><span class="deprecationComment">This constructor has been deprecated in favor of using the new builder
pattern for the configuration. pattern for the configuration.
This constructor may be removed in a future release.</div> This constructor may be removed in a future release.</span></div>
</div> </td>
<div class="col-summary-item-name even-row-color"><a href="org/json/XMLParserConfiguration.html#%3Cinit%3E(boolean,java.lang.String,boolean)">org.json.XMLParserConfiguration<wbr>(boolean, String, boolean)</a></div> </tr>
<div class="col-last even-row-color"> <tr class="altColor">
<div class="deprecation-comment">This constructor has been deprecated in favor of using the new builder <td class="colOne"><a href="org/json/XMLParserConfiguration.html#XMLParserConfiguration-boolean-java.lang.String-boolean-">org.json.XMLParserConfiguration(boolean, String, boolean)</a>
<div class="block"><span class="deprecationComment">This constructor has been deprecated in favor of using the new builder
pattern for the configuration. pattern for the configuration.
This constructor may be removed or marked private in a future release.</div> This constructor may be removed or marked private in a future release.</span></div>
</div> </td>
<div class="col-summary-item-name odd-row-color"><a href="org/json/XMLParserConfiguration.html#%3Cinit%3E(java.lang.String)">org.json.XMLParserConfiguration<wbr>(String)</a></div> </tr>
<div class="col-last odd-row-color"> <tr class="rowColor">
<div class="deprecation-comment">This constructor has been deprecated in favor of using the new builder <td class="colOne"><a href="org/json/XMLParserConfiguration.html#XMLParserConfiguration-java.lang.String-">org.json.XMLParserConfiguration(String)</a>
<div class="block"><span class="deprecationComment">This constructor has been deprecated in favor of using the new builder
pattern for the configuration. pattern for the configuration.
This constructor may be removed in a future release.</div> This constructor may be removed in a future release.</span></div>
</div> </td>
</div> </tr>
</div> </tbody>
</table>
</li> </li>
</ul> </ul>
</main>
</div> </div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="org/json/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="org/json/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Deprecated</li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?deprecated-list.html" target="_top">Frames</a></li>
<li><a href="deprecated-list.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

View File

@ -1,186 +1,217 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>API Help</title> <title>API Help</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="help">
<meta name="generator" content="javadoc/HelpWriter">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="script.js"></script>
<script type="text/javascript" src="script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="help-page"> <body>
<script type="text/javascript">var pathtoroot = "./"; <script type="text/javascript"><!--
loadScripts(document, 'script');</script> try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="API Help";
}
}
catch(err) {
}
//-->
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="org/json/package-summary.html">Package</a></li> <li><a href="org/json/package-summary.html">Package</a></li>
<li>Class</li> <li>Class</li>
<li><a href="org/json/package-tree.html">Tree</a></li> <li><a href="org/json/package-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li> <li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li> <li><a href="index-all.html">Index</a></li>
<li class="nav-bar-cell1-rev">Help</li> <li class="navBarCell1Rev">Help</li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
<li><a href="help-doc.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div> <div>
<ul class="sub-nav-list"> <script type="text/javascript"><!--
<li>Help:&nbsp;</li> allClassesLink = document.getElementById("allclasses_navbar_top");
<li><a href="#help-navigation">Navigation</a>&nbsp;|&nbsp;</li> if(window==top) {
<li><a href="#help-pages">Pages</a></li> allClassesLink.style.display = "block";
</ul> }
</div> else {
<div class="nav-list-search"><label for="search-input">SEARCH:</label> allClassesLink.style.display = "none";
<input type="text" id="search-input" value="search" disabled="disabled"> }
<input type="reset" id="reset-button" value="reset" disabled="disabled"> //-->
</div> </script>
</div> </div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav> <div class="header">
</header> <h1 class="title">How This API Document Is Organized</h1>
<div class="flex-content"> <div class="subTitle">This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.</div>
<main role="main">
<h1 class="title">JavaDoc Help</h1>
<ul class="help-toc">
<li><a href="#help-navigation">Navigation</a>:
<ul class="help-subtoc">
<li><a href="#help-search">Search</a></li>
</ul>
</li>
<li><a href="#help-pages">Kinds of Pages</a>:
<ul class="help-subtoc">
<li><a href="#package">Package</a></li>
<li><a href="#class">Class or Interface</a></li>
<li><a href="#doc-file">Other Files</a></li>
<li><a href="#tree">Tree (Class Hierarchy)</a></li>
<li><a href="#deprecated">Deprecated API</a></li>
<li><a href="#constant-values">Constant Field Values</a></li>
<li><a href="#serialized-form">Serialized Form</a></li>
<li><a href="#all-packages">All Packages</a></li>
<li><a href="#all-classes">All Classes and Interfaces</a></li>
<li><a href="#index">Index</a></li>
</ul>
</li>
</ul>
<hr>
<div class="sub-title">
<h2 id="help-navigation">Navigation</h2>
Starting from the <a href="index.html">Overview</a> page, you can browse the documentation using the links in each page, and in the navigation bar at the top of each page. The <a href="index-all.html">Index</a> and Search box allow you to navigate to specific declarations and summary pages, including: <a href="allpackages-index.html">All Packages</a>, <a href="allclasses-index.html">All Classes and Interfaces</a>
<section class="help-section" id="help-search">
<h3>Search</h3>
<p>You can search for definitions of modules, packages, types, fields, methods, system properties and other terms defined in the API, using some or all of the name, optionally using "camelCase" abbreviations. For example:</p>
<ul class="help-section-list">
<li><code>j.l.obj</code> will match "java.lang.Object"</li>
<li><code>InpStr</code> will match "java.io.InputStream"</li>
<li><code>HM.cK</code> will match "java.util.HashMap.containsKey(Object)"</li>
</ul>
<p>Refer to the <a href="https://docs.oracle.com/en/java/javase/17/docs/specs/javadoc/javadoc-search-spec.html">Javadoc Search Specification</a> for a full description of search features.</p>
</section>
</div> </div>
<hr> <div class="contentContainer">
<div class="sub-title"> <ul class="blockList">
<h2 id="help-pages">Kinds of Pages</h2> <li class="blockList">
The following sections describe the different kinds of pages in this collection. <h2>Package</h2>
<section class="help-section" id="package"> <p>Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:</p>
<h3>Package</h3> <ul>
<p>Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain the following categories:</p> <li>Interfaces (italic)</li>
<ul class="help-section-list">
<li>Interfaces</li>
<li>Classes</li> <li>Classes</li>
<li>Enum Classes</li> <li>Enums</li>
<li>Exceptions</li> <li>Exceptions</li>
<li>Errors</li> <li>Errors</li>
<li>Annotation Interfaces</li> <li>Annotation Types</li>
</ul> </ul>
</section> </li>
<section class="help-section" id="class"> <li class="blockList">
<h3>Class or Interface</h3> <h2>Class/Interface</h2>
<p>Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a declaration and description, member summary tables, and detailed member descriptions. Entries in each of these sections are omitted if they are empty or not applicable.</p> <p>Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:</p>
<ul class="help-section-list"> <ul>
<li>Class Inheritance Diagram</li> <li>Class inheritance diagram</li>
<li>Direct Subclasses</li> <li>Direct Subclasses</li>
<li>All Known Subinterfaces</li> <li>All Known Subinterfaces</li>
<li>All Known Implementing Classes</li> <li>All Known Implementing Classes</li>
<li>Class or Interface Declaration</li> <li>Class/interface declaration</li>
<li>Class or Interface Description</li> <li>Class/interface description</li>
</ul> </ul>
<br> <ul>
<ul class="help-section-list">
<li>Nested Class Summary</li> <li>Nested Class Summary</li>
<li>Enum Constant Summary</li>
<li>Field Summary</li> <li>Field Summary</li>
<li>Property Summary</li>
<li>Constructor Summary</li> <li>Constructor Summary</li>
<li>Method Summary</li> <li>Method Summary</li>
</ul>
<ul>
<li>Field Detail</li>
<li>Constructor Detail</li>
<li>Method Detail</li>
</ul>
<p>Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</p>
</li>
<li class="blockList">
<h2>Annotation Type</h2>
<p>Each annotation type has its own separate page with the following sections:</p>
<ul>
<li>Annotation Type declaration</li>
<li>Annotation Type description</li>
<li>Required Element Summary</li> <li>Required Element Summary</li>
<li>Optional Element Summary</li> <li>Optional Element Summary</li>
<li>Element Detail</li>
</ul> </ul>
<br> </li>
<ul class="help-section-list"> <li class="blockList">
<li>Enum Constant Details</li> <h2>Enum</h2>
<li>Field Details</li> <p>Each enum has its own separate page with the following sections:</p>
<li>Property Details</li> <ul>
<li>Constructor Details</li> <li>Enum declaration</li>
<li>Method Details</li> <li>Enum description</li>
<li>Element Details</li> <li>Enum Constant Summary</li>
<li>Enum Constant Detail</li>
</ul> </ul>
<p><span class="help-note">Note:</span> Annotation interfaces have required and optional elements, but not methods. Only enum classes have enum constants. The components of a record class are displayed as part of the declaration of the record class. Properties are a feature of JavaFX.</p> </li>
<p>The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</p> <li class="blockList">
</section> <h2>Tree (Class Hierarchy)</h2>
<section class="help-section" id="doc-file"> <p>There is a <a href="overview-tree.html">Class Hierarchy</a> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with <code>java.lang.Object</code>. The interfaces do not inherit from <code>java.lang.Object</code>.</p>
<h3>Other Files</h3> <ul>
<p>Packages and modules may contain pages with additional information related to the declarations nearby.</p> <li>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.</li>
</section> <li>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</li>
<section class="help-section" id="tree">
<h3>Tree (Class Hierarchy)</h3>
<p>There is a <a href="overview-tree.html">Class Hierarchy</a> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with <code>java.lang.Object</code>. Interfaces do not inherit from <code>java.lang.Object</code>.</p>
<ul class="help-section-list">
<li>When viewing the Overview page, clicking on TREE displays the hierarchy for all packages.</li>
<li>When viewing a particular package, class or interface page, clicking on TREE displays the hierarchy for only that package.</li>
</ul> </ul>
</section> </li>
<section class="help-section" id="deprecated"> <li class="blockList">
<h3>Deprecated API</h3> <h2>Deprecated API</h2>
<p>The <a href="deprecated-list.html">Deprecated API</a> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to shortcomings, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</p> <p>The <a href="deprecated-list.html">Deprecated API</a> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</p>
</section> </li>
<section class="help-section" id="constant-values"> <li class="blockList">
<h3>Constant Field Values</h3> <h2>Index</h2>
<p>The <a href="index-all.html">Index</a> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</p>
</li>
<li class="blockList">
<h2>Prev/Next</h2>
<p>These links take you to the next or previous class, interface, package, or related page.</p>
</li>
<li class="blockList">
<h2>Frames/No Frames</h2>
<p>These links show and hide the HTML frames. All pages are available with or without frames.</p>
</li>
<li class="blockList">
<h2>All Classes</h2>
<p>The <a href="allclasses-noframe.html">All Classes</a> link shows all classes and interfaces except non-static nested types.</p>
</li>
<li class="blockList">
<h2>Serialized Form</h2>
<p>Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.</p>
</li>
<li class="blockList">
<h2>Constant Field Values</h2>
<p>The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.</p> <p>The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.</p>
</section> </li>
<section class="help-section" id="serialized-form"> </ul>
<h3>Serialized Form</h3> <span class="emphasizedPhrase">This help file applies to API documentation generated using the standard doclet.</span></div>
<p>Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to those who implement rather than use the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See Also" section of the class description.</p> <!-- ======= START OF BOTTOM NAVBAR ====== -->
</section> <div class="bottomNav"><a name="navbar.bottom">
<section class="help-section" id="all-packages"> <!-- -->
<h3>All Packages</h3> </a>
<p>The <a href="allpackages-index.html">All Packages</a> page contains an alphabetic index of all packages contained in the documentation.</p> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
</section> <a name="navbar.bottom.firstrow">
<section class="help-section" id="all-classes"> <!-- -->
<h3>All Classes and Interfaces</h3> </a>
<p>The <a href="allclasses-index.html">All Classes and Interfaces</a> page contains an alphabetic index of all classes and interfaces contained in the documentation, including annotation interfaces, enum classes, and record classes.</p> <ul class="navList" title="Navigation">
</section> <li><a href="org/json/package-summary.html">Package</a></li>
<section class="help-section" id="index"> <li>Class</li>
<h3>Index</h3> <li><a href="org/json/package-tree.html">Tree</a></li>
<p>The <a href="index-all.html">Index</a> contains an alphabetic index of all classes, interfaces, constructors, methods, and fields in the documentation, as well as summary pages such as <a href="allpackages-index.html">All Packages</a>, <a href="allclasses-index.html">All Classes and Interfaces</a>.</p> <li><a href="deprecated-list.html">Deprecated</a></li>
</section> <li><a href="index-all.html">Index</a></li>
</div> <li class="navBarCell1Rev">Help</li>
<hr> </ul>
<span class="help-footnote">This help file applies to API documentation generated by the standard doclet.</span></main>
</div> </div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
<li><a href="help-doc.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

View File

@ -1,26 +1,72 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>Generated Documentation (Untitled)</title> <title>Generated Documentation (Untitled)</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> tmpTargetPage = "" + window.location.search;
<meta name="dc.created" content="2024-03-02"> if (tmpTargetPage != "" && tmpTargetPage != "undefined")
<meta name="description" content="index redirect"> tmpTargetPage = tmpTargetPage.substring(1);
<meta name="generator" content="javadoc/IndexRedirectWriter"> if (tmpTargetPage.indexOf(":") != -1 || (tmpTargetPage != "" && !validURL(tmpTargetPage)))
<link rel="canonical" href="org/json/package-summary.html"> tmpTargetPage = "undefined";
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> targetPage = tmpTargetPage;
<script type="text/javascript">window.location.replace('org/json/package-summary.html')</script> function validURL(url) {
<noscript> try {
<meta http-equiv="Refresh" content="0;org/json/package-summary.html"> url = decodeURIComponent(url);
</noscript> }
catch (error) {
return false;
}
var pos = url.indexOf(".html");
if (pos == -1 || pos != url.length - 5)
return false;
var allowNumber = false;
var allowSep = false;
var seenDot = false;
for (var i = 0; i < url.length - 5; i++) {
var ch = url.charAt(i);
if ('a' <= ch && ch <= 'z' ||
'A' <= ch && ch <= 'Z' ||
ch == '$' ||
ch == '_' ||
ch.charCodeAt(0) > 127) {
allowNumber = true;
allowSep = true;
} else if ('0' <= ch && ch <= '9'
|| ch == '-') {
if (!allowNumber)
return false;
} else if (ch == '/' || ch == '.') {
if (!allowSep)
return false;
allowNumber = false;
allowSep = false;
if (ch == '.')
seenDot = true;
if (ch == '/' && seenDot)
return false;
} else {
return false;
}
}
return true;
}
function loadFrames() {
if (targetPage != "" && targetPage != "undefined")
top.classFrame.location = top.targetPage;
}
</script>
</head> </head>
<body class="index-redirect-page"> <frameset cols="20%,80%" title="Documentation frame" onload="top.loadFrames()">
<main role="main"> <frame src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
<frame src="org/json/package-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
<noframes>
<noscript> <noscript>
<p>JavaScript is disabled on your browser.</p> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<p><a href="org/json/package-summary.html">org/json/package-summary.html</a></p> <h2>Frame Alert</h2>
</main> <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="org/json/package-summary.html">Non-frame version</a>.</p>
</body> </noframes>
</frameset>
</html> </html>

File diff suppressed because it is too large Load Diff

View File

@ -1,173 +1,227 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>Cookie</title> <title>Cookie</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="declaration: package: org.json, class: Cookie">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="class-declaration-page"> <body>
<script type="text/javascript">var evenRowColor = "even-row-color"; <script type="text/javascript"><!--
var oddRowColor = "odd-row-color"; try {
var tableTab = "table-tab"; if (location.href.indexOf('is-external=true') == -1) {
var activeTableTab = "active-table-tab"; parent.document.title="Cookie";
var pathtoroot = "../../"; }
loadScripts(document, 'script');</script> }
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9,"i2":9,"i3":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<li><a href="package-summary.html">Package</a></li> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<li class="nav-bar-cell1-rev">Class</li> <a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li> <li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li> <li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html#class">Help</a></li> <li><a href="../../help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<ul class="navList">
<li><a href="../../org/json/CDL.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/CookieList.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/Cookie.html" target="_top">Frames</a></li>
<li><a href="Cookie.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div> <div>
<ul class="sub-nav-list"> <script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li> <li><a href="#method.summary">Method</a></li>
</ul> </ul>
<ul class="sub-nav-list"> <ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li> <li><a href="#method.detail">Method</a></li>
</ul> </ul>
</div> </div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <a name="skip.navbar.top">
<input type="text" id="search-input" value="search" disabled="disabled"> <!-- -->
<input type="reset" id="reset-button" value="reset" disabled="disabled"> </a></div>
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== --> <!-- ======== START OF CLASS DATA ======== -->
<div class="header"> <div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.json</a></div> <div class="subTitle">org.json</div>
<h1 title="Class Cookie" class="title">Class Cookie</h1> <h2 title="Class Cookie" class="title">Class Cookie</h2>
</div> </div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> <div class="contentContainer">
<div class="inheritance">org.json.Cookie</div> <ul class="inheritance">
</div> <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<section class="class-description" id="class-description"> <li>
<ul class="inheritance">
<li>org.json.Cookie</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr> <hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">Cookie</span> <br>
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span></div> <pre>public class <span class="typeNameLabel">Cookie</span>
extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Convert a web browser cookie specification to a JSONObject and back. <div class="block">Convert a web browser cookie specification to a JSONObject and back.
JSON and Cookies are both notations for name/value pairs. JSON and Cookies are both notations for name/value pairs.
See also: <a href="https://tools.ietf.org/html/rfc6265">https://tools.ietf.org/html/rfc6265</a></div> See also: <a href="https://tools.ietf.org/html/rfc6265">https://tools.ietf.org/html/rfc6265</a></div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li>
<section class="constructor-summary" id="constructor-summary">
<h2>Constructor Summary</h2>
<div class="caption"><span>Constructors</span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">Cookie</a>()</code></div>
<div class="col-last even-row-color">
<div class="block">Constructs a new Cookie object.</div>
</div>
</div>
</section>
</li> </li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../org/json/Cookie.html#Cookie--">Cookie</a></span>()</code>
<div class="block">Constructs a new Cookie object.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== --> <!-- ========== METHOD SUMMARY =========== -->
<li> <ul class="blockList">
<section class="method-summary" id="method-summary"> <li class="blockList"><a name="method.summary">
<h2>Method Summary</h2> <!-- -->
<div id="method-summary-table"> </a>
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> <h3>Method Summary</h3>
<div id="method-summary-table.tabpanel" role="tabpanel"> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<div class="table-header col-first">Modifier and Type</div> <tr>
<div class="table-header col-second">Method</div> <th class="colFirst" scope="col">Modifier and Type</th>
<div class="table-header col-last">Description</div> <th class="colLast" scope="col">Method and Description</th>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> </tr>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#escape(java.lang.String)" class="member-name-link">escape</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;string)</code></div> <tr id="i0" class="altColor">
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/Cookie.html#escape-java.lang.String-">escape</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)</code>
<div class="block">Produce a copy of a string in which the characters '+', '%', '=', ';' <div class="block">Produce a copy of a string in which the characters '+', '%', '=', ';'
and control characters are replaced with "%hh".</div> and control characters are replaced with "%hh".</div>
</div> </td>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="JSONObject.html" title="class in org.json">JSONObject</a></code></div> </tr>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#toJSONObject(java.lang.String)" class="member-name-link">toJSONObject</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;string)</code></div> <tr id="i1" class="rowColor">
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> <td class="colFirst"><code>static <a href="../../org/json/JSONObject.html" title="class in org.json">JSONObject</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/Cookie.html#toJSONObject-java.lang.String-">toJSONObject</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)</code>
<div class="block">Convert a cookie specification string into a JSONObject.</div> <div class="block">Convert a cookie specification string into a JSONObject.</div>
</div> </td>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> </tr>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#toString(org.json.JSONObject)" class="member-name-link">toString</a><wbr>(<a href="JSONObject.html" title="class in org.json">JSONObject</a>&nbsp;jo)</code></div> <tr id="i2" class="altColor">
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/Cookie.html#toString-org.json.JSONObject-">toString</a></span>(<a href="../../org/json/JSONObject.html" title="class in org.json">JSONObject</a>&nbsp;jo)</code>
<div class="block">Convert a JSONObject into a cookie specification string.</div> <div class="block">Convert a JSONObject into a cookie specification string.</div>
</div> </td>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> </tr>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#unescape(java.lang.String)" class="member-name-link">unescape</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;string)</code></div> <tr id="i3" class="rowColor">
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/Cookie.html#unescape-java.lang.String-">unescape</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)</code>
<div class="block">Convert <code>%</code><i>hh</i> sequences to single characters, and <div class="block">Convert <code>%</code><i>hh</i> sequences to single characters, and
convert plus to space.</div> convert plus to space.</div>
</div> </td>
</div> </tr>
</div> </table>
</div> <ul class="blockList">
<div class="inherited-list"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> <!-- -->
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> </a>
</section> <h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li> </li>
</ul> </ul>
</section> </li>
<section class="details"> </ul>
<ul class="details-list"> </div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== --> <!-- ========= CONSTRUCTOR DETAIL ======== -->
<li> <ul class="blockList">
<section class="constructor-details" id="constructor-detail"> <li class="blockList"><a name="constructor.detail">
<h2>Constructor Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Constructor Detail</h3>
<section class="detail" id="&lt;init&gt;()"> <a name="Cookie--">
<h3>Cookie</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">Cookie</span>()</div> </a>
<ul class="blockListLast">
<li class="blockList">
<h4>Cookie</h4>
<pre>public&nbsp;Cookie()</pre>
<div class="block">Constructs a new Cookie object.</div> <div class="block">Constructs a new Cookie object.</div>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul>
<!-- ============ METHOD DETAIL ========== --> <!-- ============ METHOD DETAIL ========== -->
<li> <ul class="blockList">
<section class="method-details" id="method-detail"> <li class="blockList"><a name="method.detail">
<h2>Method Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Method Detail</h3>
<section class="detail" id="escape(java.lang.String)"> <a name="escape-java.lang.String-">
<h3>escape</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">escape</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;string)</span></div> </a>
<ul class="blockList">
<li class="blockList">
<h4>escape</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;escape(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)</pre>
<div class="block">Produce a copy of a string in which the characters '+', '%', '=', ';' <div class="block">Produce a copy of a string in which the characters '+', '%', '=', ';'
and control characters are replaced with "%hh". This is a gentle form and control characters are replaced with "%hh". This is a gentle form
of URL encoding, attempting to cause as little distortion to the of URL encoding, attempting to cause as little distortion to the
@ -176,88 +230,155 @@ loadScripts(document, 'script');</script>
only a convention, not a standard. Often, cookies are expected to have only a convention, not a standard. Often, cookies are expected to have
encoded values. We encode '=' and ';' because we must. We encode '%' and encoded values. We encode '=' and ';' because we must. We encode '%' and
'+' because they are meta characters in URL encoding.</div> '+' because they are meta characters in URL encoding.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>string</code> - The source string.</dd> <dd><code>string</code> - The source string.</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>The escaped result.</dd> <dd>The escaped result.</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="toJSONObject(java.lang.String)"> <a name="toJSONObject-java.lang.String-">
<h3>toJSONObject</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type"><a href="JSONObject.html" title="class in org.json">JSONObject</a></span>&nbsp;<span class="element-name">toJSONObject</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;string)</span></div> </a>
<ul class="blockList">
<li class="blockList">
<h4>toJSONObject</h4>
<pre>public static&nbsp;<a href="../../org/json/JSONObject.html" title="class in org.json">JSONObject</a>&nbsp;toJSONObject(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)</pre>
<div class="block">Convert a cookie specification string into a JSONObject. The string <div class="block">Convert a cookie specification string into a JSONObject. The string
must contain a name value pair separated by '='. The name and the value must contain a name value pair separated by '='. The name and the value
will be unescaped, possibly converting '+' and '%' sequences. The will be unescaped, possibly converting '+' and '%' sequences. The
cookie properties may follow, separated by ';', also represented as cookie properties may follow, separated by ';', also represented as
name=value (except the Attribute properties like "Secure" or "HttpOnly", name=value (except the Attribute properties like "Secure" or "HttpOnly",
which do not have a value. The value <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html#TRUE" title="class or interface in java.lang" class="external-link"><code>Boolean.TRUE</code></a> will be used for these). which do not have a value. The value <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true#TRUE" title="class or interface in java.lang"><code>Boolean.TRUE</code></a> will be used for these).
The name will be stored under the key "name", and the value will be The name will be stored under the key "name", and the value will be
stored under the key "value". This method does not do checking or stored under the key "value". This method does not do checking or
validation of the parameters. It only converts the cookie string into validation of the parameters. It only converts the cookie string into
a JSONObject. All attribute names are converted to lower case keys in the a JSONObject. All attribute names are converted to lower case keys in the
JSONObject (HttpOnly =&gt; httponly). If an attribute is specified more than JSONObject (HttpOnly =&gt; httponly). If an attribute is specified more than
once, only the value found closer to the end of the cookie-string is kept.</div> once, only the value found closer to the end of the cookie-string is kept.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>string</code> - The cookie specification string.</dd> <dd><code>string</code> - The cookie specification string.</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>A JSONObject containing "name", "value", and possibly other <dd>A JSONObject containing "name", "value", and possibly other
members.</dd> members.</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - If there is an error parsing the Cookie String. <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - If there is an error parsing the Cookie String.
Cookie strings must have at least one '=' character and the 'name' Cookie strings must have at least one '=' character and the 'name'
portion of the cookie must not be blank.</dd> portion of the cookie must not be blank.</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="toString(org.json.JSONObject)"> <a name="toString-org.json.JSONObject-">
<h3>toString</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">toString</span><wbr><span class="parameters">(<a href="JSONObject.html" title="class in org.json">JSONObject</a>&nbsp;jo)</span> </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString(<a href="../../org/json/JSONObject.html" title="class in org.json">JSONObject</a>&nbsp;jo)
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block">Convert a JSONObject into a cookie specification string. The JSONObject <div class="block">Convert a JSONObject into a cookie specification string. The JSONObject
must contain "name" and "value" members (case insensitive). must contain "name" and "value" members (case insensitive).
If the JSONObject contains other members, they will be appended to the cookie If the JSONObject contains other members, they will be appended to the cookie
specification string. User-Agents are instructed to ignore unknown attributes, specification string. User-Agents are instructed to ignore unknown attributes,
so ensure your JSONObject is using only known attributes. so ensure your JSONObject is using only known attributes.
See also: <a href="https://tools.ietf.org/html/rfc6265">https://tools.ietf.org/html/rfc6265</a></div> See also: <a href="https://tools.ietf.org/html/rfc6265">https://tools.ietf.org/html/rfc6265</a></div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>jo</code> - A JSONObject</dd> <dd><code>jo</code> - A JSONObject</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>A cookie specification string</dd> <dd>A cookie specification string</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - thrown if the cookie has no name.</dd> <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - thrown if the cookie has no name.</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="unescape(java.lang.String)"> <a name="unescape-java.lang.String-">
<h3>unescape</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">unescape</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;string)</span></div> </a>
<ul class="blockListLast">
<li class="blockList">
<h4>unescape</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;unescape(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)</pre>
<div class="block">Convert <code>%</code><i>hh</i> sequences to single characters, and <div class="block">Convert <code>%</code><i>hh</i> sequences to single characters, and
convert plus to space.</div> convert plus to space.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>string</code> - A string that may contain <dd><code>string</code> - A string that may contain
<code>+</code>&nbsp;<small>(plus)</small> and <code>+</code>&nbsp;<small>(plus)</small> and
<code>%</code><i>hh</i> sequences.</dd> <code>%</code><i>hh</i> sequences.</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>The unescaped string.</dd> <dd>The unescaped string.</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul> </ul>
</section> </li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= --> <!-- ========= END OF CLASS DATA ========= -->
</main> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/json/CDL.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/CookieList.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/Cookie.html" target="_top">Frames</a></li>
<li><a href="Cookie.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

View File

@ -1,160 +1,212 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>CookieList</title> <title>CookieList</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="declaration: package: org.json, class: CookieList">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="class-declaration-page"> <body>
<script type="text/javascript">var evenRowColor = "even-row-color"; <script type="text/javascript"><!--
var oddRowColor = "odd-row-color"; try {
var tableTab = "table-tab"; if (location.href.indexOf('is-external=true') == -1) {
var activeTableTab = "active-table-tab"; parent.document.title="CookieList";
var pathtoroot = "../../"; }
loadScripts(document, 'script');</script> }
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<li><a href="package-summary.html">Package</a></li> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<li class="nav-bar-cell1-rev">Class</li> <a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li> <li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li> <li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html#class">Help</a></li> <li><a href="../../help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<ul class="navList">
<li><a href="../../org/json/Cookie.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/HTTP.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/CookieList.html" target="_top">Frames</a></li>
<li><a href="CookieList.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div> <div>
<ul class="sub-nav-list"> <script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li> <li><a href="#method.summary">Method</a></li>
</ul> </ul>
<ul class="sub-nav-list"> <ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li> <li><a href="#method.detail">Method</a></li>
</ul> </ul>
</div> </div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <a name="skip.navbar.top">
<input type="text" id="search-input" value="search" disabled="disabled"> <!-- -->
<input type="reset" id="reset-button" value="reset" disabled="disabled"> </a></div>
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== --> <!-- ======== START OF CLASS DATA ======== -->
<div class="header"> <div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.json</a></div> <div class="subTitle">org.json</div>
<h1 title="Class CookieList" class="title">Class CookieList</h1> <h2 title="Class CookieList" class="title">Class CookieList</h2>
</div> </div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> <div class="contentContainer">
<div class="inheritance">org.json.CookieList</div> <ul class="inheritance">
</div> <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<section class="class-description" id="class-description"> <li>
<ul class="inheritance">
<li>org.json.CookieList</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr> <hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">CookieList</span> <br>
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span></div> <pre>public class <span class="typeNameLabel">CookieList</span>
extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Convert a web browser cookie list string to a JSONObject and back.</div> <div class="block">Convert a web browser cookie list string to a JSONObject and back.</div>
</section> </li>
<section class="summary"> </ul>
<ul class="summary-list"> </div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== --> <!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li> <ul class="blockList">
<section class="constructor-summary" id="constructor-summary"> <li class="blockList"><a name="constructor.summary">
<h2>Constructor Summary</h2> <!-- -->
<div class="caption"><span>Constructors</span></div> </a>
<div class="summary-table two-column-summary"> <h3>Constructor Summary</h3>
<div class="table-header col-first">Constructor</div> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<div class="table-header col-last">Description</div> <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">CookieList</a>()</code></div> <tr>
<div class="col-last even-row-color"> <th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../org/json/CookieList.html#CookieList--">CookieList</a></span>()</code>
<div class="block">Constructs a new CookieList object.</div> <div class="block">Constructs a new CookieList object.</div>
</div> </td>
</div> </tr>
</section> </table>
</li> </li>
</ul>
<!-- ========== METHOD SUMMARY =========== --> <!-- ========== METHOD SUMMARY =========== -->
<li> <ul class="blockList">
<section class="method-summary" id="method-summary"> <li class="blockList"><a name="method.summary">
<h2>Method Summary</h2> <!-- -->
<div id="method-summary-table"> </a>
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> <h3>Method Summary</h3>
<div id="method-summary-table.tabpanel" role="tabpanel"> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<div class="table-header col-first">Modifier and Type</div> <tr>
<div class="table-header col-second">Method</div> <th class="colFirst" scope="col">Modifier and Type</th>
<div class="table-header col-last">Description</div> <th class="colLast" scope="col">Method and Description</th>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="JSONObject.html" title="class in org.json">JSONObject</a></code></div> </tr>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#toJSONObject(java.lang.String)" class="member-name-link">toJSONObject</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;string)</code></div> <tr id="i0" class="altColor">
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> <td class="colFirst"><code>static <a href="../../org/json/JSONObject.html" title="class in org.json">JSONObject</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/CookieList.html#toJSONObject-java.lang.String-">toJSONObject</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)</code>
<div class="block">Convert a cookie list into a JSONObject.</div> <div class="block">Convert a cookie list into a JSONObject.</div>
</div> </td>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> </tr>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#toString(org.json.JSONObject)" class="member-name-link">toString</a><wbr>(<a href="JSONObject.html" title="class in org.json">JSONObject</a>&nbsp;jo)</code></div> <tr id="i1" class="rowColor">
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/CookieList.html#toString-org.json.JSONObject-">toString</a></span>(<a href="../../org/json/JSONObject.html" title="class in org.json">JSONObject</a>&nbsp;jo)</code>
<div class="block">Convert a JSONObject into a cookie list.</div> <div class="block">Convert a JSONObject into a cookie list.</div>
</div> </td>
</div> </tr>
</div> </table>
</div> <ul class="blockList">
<div class="inherited-list"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> <!-- -->
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> </a>
</section> <h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li> </li>
</ul> </ul>
</section> </li>
<section class="details"> </ul>
<ul class="details-list"> </div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== --> <!-- ========= CONSTRUCTOR DETAIL ======== -->
<li> <ul class="blockList">
<section class="constructor-details" id="constructor-detail"> <li class="blockList"><a name="constructor.detail">
<h2>Constructor Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Constructor Detail</h3>
<section class="detail" id="&lt;init&gt;()"> <a name="CookieList--">
<h3>CookieList</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">CookieList</span>()</div> </a>
<ul class="blockListLast">
<li class="blockList">
<h4>CookieList</h4>
<pre>public&nbsp;CookieList()</pre>
<div class="block">Constructs a new CookieList object.</div> <div class="block">Constructs a new CookieList object.</div>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul>
<!-- ============ METHOD DETAIL ========== --> <!-- ============ METHOD DETAIL ========== -->
<li> <ul class="blockList">
<section class="method-details" id="method-detail"> <li class="blockList"><a name="method.detail">
<h2>Method Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Method Detail</h3>
<section class="detail" id="toJSONObject(java.lang.String)"> <a name="toJSONObject-java.lang.String-">
<h3>toJSONObject</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type"><a href="JSONObject.html" title="class in org.json">JSONObject</a></span>&nbsp;<span class="element-name">toJSONObject</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;string)</span> </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockList">
<li class="blockList">
<h4>toJSONObject</h4>
<pre>public static&nbsp;<a href="../../org/json/JSONObject.html" title="class in org.json">JSONObject</a>&nbsp;toJSONObject(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block">Convert a cookie list into a JSONObject. A cookie list is a sequence <div class="block">Convert a cookie list into a JSONObject. A cookie list is a sequence
of name/value pairs. The names are separated from the values by '='. of name/value pairs. The names are separated from the values by '='.
The pairs are separated by ';'. The names and the values The pairs are separated by ';'. The names and the values
@ -163,43 +215,104 @@ loadScripts(document, 'script');</script>
To add a cookie to a cookie list, To add a cookie to a cookie list,
cookielistJSONObject.put(cookieJSONObject.getString("name"), cookielistJSONObject.put(cookieJSONObject.getString("name"),
cookieJSONObject.getString("value"));</div> cookieJSONObject.getString("value"));</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>string</code> - A cookie list string</dd> <dd><code>string</code> - A cookie list string</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>A JSONObject</dd> <dd>A JSONObject</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - if a called function fails</dd> <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - if a called function fails</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="toString(org.json.JSONObject)"> <a name="toString-org.json.JSONObject-">
<h3>toString</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">toString</span><wbr><span class="parameters">(<a href="JSONObject.html" title="class in org.json">JSONObject</a>&nbsp;jo)</span> </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString(<a href="../../org/json/JSONObject.html" title="class in org.json">JSONObject</a>&nbsp;jo)
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block">Convert a JSONObject into a cookie list. A cookie list is a sequence <div class="block">Convert a JSONObject into a cookie list. A cookie list is a sequence
of name/value pairs. The names are separated from the values by '='. of name/value pairs. The names are separated from the values by '='.
The pairs are separated by ';'. The characters '%', '+', '=', and ';' The pairs are separated by ';'. The characters '%', '+', '=', and ';'
in the names and values are replaced by "%hh".</div> in the names and values are replaced by "%hh".</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>jo</code> - A JSONObject</dd> <dd><code>jo</code> - A JSONObject</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>A cookie list string</dd> <dd>A cookie list string</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - if a called function fails</dd> <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - if a called function fails</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul> </ul>
</section> </li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= --> <!-- ========= END OF CLASS DATA ========= -->
</main> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/json/Cookie.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/HTTP.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/CookieList.html" target="_top">Frames</a></li>
<li><a href="CookieList.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

View File

@ -1,200 +1,255 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>HTTP</title> <title>HTTP</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="declaration: package: org.json, class: HTTP">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="class-declaration-page"> <body>
<script type="text/javascript">var evenRowColor = "even-row-color"; <script type="text/javascript"><!--
var oddRowColor = "odd-row-color"; try {
var tableTab = "table-tab"; if (location.href.indexOf('is-external=true') == -1) {
var activeTableTab = "active-table-tab"; parent.document.title="HTTP";
var pathtoroot = "../../"; }
loadScripts(document, 'script');</script> }
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<li><a href="package-summary.html">Package</a></li> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<li class="nav-bar-cell1-rev">Class</li> <a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li> <li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li> <li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html#class">Help</a></li> <li><a href="../../help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<ul class="navList">
<li><a href="../../org/json/CookieList.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/HTTPTokener.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/HTTP.html" target="_top">Frames</a></li>
<li><a href="HTTP.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div> <div>
<ul class="sub-nav-list"> <script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field-summary">Field</a>&nbsp;|&nbsp;</li> <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li> <li><a href="#method.summary">Method</a></li>
</ul> </ul>
<ul class="sub-nav-list"> <ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li><a href="#field-detail">Field</a>&nbsp;|&nbsp;</li> <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li> <li><a href="#method.detail">Method</a></li>
</ul> </ul>
</div> </div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <a name="skip.navbar.top">
<input type="text" id="search-input" value="search" disabled="disabled"> <!-- -->
<input type="reset" id="reset-button" value="reset" disabled="disabled"> </a></div>
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== --> <!-- ======== START OF CLASS DATA ======== -->
<div class="header"> <div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.json</a></div> <div class="subTitle">org.json</div>
<h1 title="Class HTTP" class="title">Class HTTP</h1> <h2 title="Class HTTP" class="title">Class HTTP</h2>
</div> </div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> <div class="contentContainer">
<div class="inheritance">org.json.HTTP</div> <ul class="inheritance">
</div> <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<section class="class-description" id="class-description"> <li>
<ul class="inheritance">
<li>org.json.HTTP</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr> <hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">HTTP</span> <br>
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span></div> <pre>public class <span class="typeNameLabel">HTTP</span>
extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Convert an HTTP header to a JSONObject and back.</div> <div class="block">Convert an HTTP header to a JSONObject and back.</div>
</section> </li>
<section class="summary"> </ul>
<ul class="summary-list"> </div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== --> <!-- =========== FIELD SUMMARY =========== -->
<li> <ul class="blockList">
<section class="field-summary" id="field-summary"> <li class="blockList"><a name="field.summary">
<h2>Field Summary</h2> <!-- -->
<div class="caption"><span>Fields</span></div> </a>
<div class="summary-table three-column-summary"> <h3>Field Summary</h3>
<div class="table-header col-first">Modifier and Type</div> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<div class="table-header col-second">Field</div> <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<div class="table-header col-last">Description</div> <tr>
<div class="col-first even-row-color"><code>static final <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> <th class="colFirst" scope="col">Modifier and Type</th>
<div class="col-second even-row-color"><code><a href="#CRLF" class="member-name-link">CRLF</a></code></div> <th class="colLast" scope="col">Field and Description</th>
<div class="col-last even-row-color"> </tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/HTTP.html#CRLF">CRLF</a></span></code>
<div class="block">Carriage return/line feed.</div> <div class="block">Carriage return/line feed.</div>
</div> </td>
</div> </tr>
</section> </table>
</li> </li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== --> <!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li> <ul class="blockList">
<section class="constructor-summary" id="constructor-summary"> <li class="blockList"><a name="constructor.summary">
<h2>Constructor Summary</h2> <!-- -->
<div class="caption"><span>Constructors</span></div> </a>
<div class="summary-table two-column-summary"> <h3>Constructor Summary</h3>
<div class="table-header col-first">Constructor</div> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<div class="table-header col-last">Description</div> <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">HTTP</a>()</code></div> <tr>
<div class="col-last even-row-color"> <th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../org/json/HTTP.html#HTTP--">HTTP</a></span>()</code>
<div class="block">Constructs a new HTTP object.</div> <div class="block">Constructs a new HTTP object.</div>
</div> </td>
</div> </tr>
</section> </table>
</li> </li>
</ul>
<!-- ========== METHOD SUMMARY =========== --> <!-- ========== METHOD SUMMARY =========== -->
<li> <ul class="blockList">
<section class="method-summary" id="method-summary"> <li class="blockList"><a name="method.summary">
<h2>Method Summary</h2> <!-- -->
<div id="method-summary-table"> </a>
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> <h3>Method Summary</h3>
<div id="method-summary-table.tabpanel" role="tabpanel"> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<div class="table-header col-first">Modifier and Type</div> <tr>
<div class="table-header col-second">Method</div> <th class="colFirst" scope="col">Modifier and Type</th>
<div class="table-header col-last">Description</div> <th class="colLast" scope="col">Method and Description</th>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="JSONObject.html" title="class in org.json">JSONObject</a></code></div> </tr>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#toJSONObject(java.lang.String)" class="member-name-link">toJSONObject</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;string)</code></div> <tr id="i0" class="altColor">
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> <td class="colFirst"><code>static <a href="../../org/json/JSONObject.html" title="class in org.json">JSONObject</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/HTTP.html#toJSONObject-java.lang.String-">toJSONObject</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)</code>
<div class="block">Convert an HTTP header string into a JSONObject.</div> <div class="block">Convert an HTTP header string into a JSONObject.</div>
</div> </td>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> </tr>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#toString(org.json.JSONObject)" class="member-name-link">toString</a><wbr>(<a href="JSONObject.html" title="class in org.json">JSONObject</a>&nbsp;jo)</code></div> <tr id="i1" class="rowColor">
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/HTTP.html#toString-org.json.JSONObject-">toString</a></span>(<a href="../../org/json/JSONObject.html" title="class in org.json">JSONObject</a>&nbsp;jo)</code>
<div class="block">Convert a JSONObject into an HTTP header.</div> <div class="block">Convert a JSONObject into an HTTP header.</div>
</div> </td>
</div> </tr>
</div> </table>
</div> <ul class="blockList">
<div class="inherited-list"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> <!-- -->
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> </a>
</section> <h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li> </li>
</ul> </ul>
</section> </li>
<section class="details"> </ul>
<ul class="details-list"> </div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== --> <!-- ============ FIELD DETAIL =========== -->
<li> <ul class="blockList">
<section class="field-details" id="field-detail"> <li class="blockList"><a name="field.detail">
<h2>Field Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Field Detail</h3>
<section class="detail" id="CRLF"> <a name="CRLF">
<h3>CRLF</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">CRLF</span></div> </a>
<ul class="blockListLast">
<li class="blockList">
<h4>CRLF</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> CRLF</pre>
<div class="block">Carriage return/line feed.</div> <div class="block">Carriage return/line feed.</div>
<dl class="notes"> <dl>
<dt>See Also:</dt> <dt><span class="seeLabel">See Also:</span></dt>
<dd> <dd><a href="../../constant-values.html#org.json.HTTP.CRLF">Constant Field Values</a></dd>
<ul class="see-list">
<li><a href="../../constant-values.html#org.json.HTTP.CRLF">Constant Field Values</a></li>
</ul>
</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== --> <!-- ========= CONSTRUCTOR DETAIL ======== -->
<li> <ul class="blockList">
<section class="constructor-details" id="constructor-detail"> <li class="blockList"><a name="constructor.detail">
<h2>Constructor Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Constructor Detail</h3>
<section class="detail" id="&lt;init&gt;()"> <a name="HTTP--">
<h3>HTTP</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">HTTP</span>()</div> </a>
<ul class="blockListLast">
<li class="blockList">
<h4>HTTP</h4>
<pre>public&nbsp;HTTP()</pre>
<div class="block">Constructs a new HTTP object.</div> <div class="block">Constructs a new HTTP object.</div>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul>
<!-- ============ METHOD DETAIL ========== --> <!-- ============ METHOD DETAIL ========== -->
<li> <ul class="blockList">
<section class="method-details" id="method-detail"> <li class="blockList"><a name="method.detail">
<h2>Method Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Method Detail</h3>
<section class="detail" id="toJSONObject(java.lang.String)"> <a name="toJSONObject-java.lang.String-">
<h3>toJSONObject</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type"><a href="JSONObject.html" title="class in org.json">JSONObject</a></span>&nbsp;<span class="element-name">toJSONObject</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;string)</span> </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockList">
<li class="blockList">
<h4>toJSONObject</h4>
<pre>public static&nbsp;<a href="../../org/json/JSONObject.html" title="class in org.json">JSONObject</a>&nbsp;toJSONObject(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block">Convert an HTTP header string into a JSONObject. It can be a request <div class="block">Convert an HTTP header string into a JSONObject. It can be a request
header or a response header. A request header will contain header or a response header. A request header will contain
<pre>{ <pre>{
@ -221,22 +276,25 @@ loadScripts(document, 'script');</script>
...</code></pre> ...</code></pre>
It does no further checking or conversion. It does not parse dates. It does no further checking or conversion. It does not parse dates.
It does not do '%' transforms on URLs.</div> It does not do '%' transforms on URLs.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>string</code> - An HTTP header string.</dd> <dd><code>string</code> - An HTTP header string.</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>A JSONObject containing the elements and attributes <dd>A JSONObject containing the elements and attributes
of the XML string.</dd> of the XML string.</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - if a called function fails</dd> <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - if a called function fails</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="toString(org.json.JSONObject)"> <a name="toString-org.json.JSONObject-">
<h3>toString</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">toString</span><wbr><span class="parameters">(<a href="JSONObject.html" title="class in org.json">JSONObject</a>&nbsp;jo)</span> </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString(<a href="../../org/json/JSONObject.html" title="class in org.json">JSONObject</a>&nbsp;jo)
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block">Convert a JSONObject into an HTTP header. A request header must contain <div class="block">Convert a JSONObject into an HTTP header. A request header must contain
<pre>{ <pre>{
Method: "POST" (for example), Method: "POST" (for example),
@ -251,25 +309,83 @@ loadScripts(document, 'script');</script>
}</pre> }</pre>
Any other members of the JSONObject will be output as HTTP fields. Any other members of the JSONObject will be output as HTTP fields.
The result will end with two CRLF pairs.</div> The result will end with two CRLF pairs.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>jo</code> - A JSONObject</dd> <dd><code>jo</code> - A JSONObject</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>An HTTP header string.</dd> <dd>An HTTP header string.</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - if the object does not contain enough <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - if the object does not contain enough
information.</dd> information.</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul> </ul>
</section> </li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= --> <!-- ========= END OF CLASS DATA ========= -->
</main> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/json/CookieList.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/HTTPTokener.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/HTTP.html" target="_top">Frames</a></li>
<li><a href="HTTP.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

View File

@ -1,182 +1,298 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>HTTPTokener</title> <title>HTTPTokener</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="declaration: package: org.json, class: HTTPTokener">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="class-declaration-page"> <body>
<script type="text/javascript">var evenRowColor = "even-row-color"; <script type="text/javascript"><!--
var oddRowColor = "odd-row-color"; try {
var tableTab = "table-tab"; if (location.href.indexOf('is-external=true') == -1) {
var activeTableTab = "active-table-tab"; parent.document.title="HTTPTokener";
var pathtoroot = "../../"; }
loadScripts(document, 'script');</script> }
catch(err) {
}
//-->
var methods = {"i0":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<li><a href="package-summary.html">Package</a></li> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<li class="nav-bar-cell1-rev">Class</li> <a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li> <li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li> <li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html#class">Help</a></li> <li><a href="../../help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<ul class="navList">
<li><a href="../../org/json/HTTP.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/JSONArray.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/HTTPTokener.html" target="_top">Frames</a></li>
<li><a href="HTTPTokener.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div> <div>
<ul class="sub-nav-list"> <script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li> <li><a href="#method.summary">Method</a></li>
</ul> </ul>
<ul class="sub-nav-list"> <ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li> <li><a href="#method.detail">Method</a></li>
</ul> </ul>
</div> </div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <a name="skip.navbar.top">
<input type="text" id="search-input" value="search" disabled="disabled"> <!-- -->
<input type="reset" id="reset-button" value="reset" disabled="disabled"> </a></div>
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== --> <!-- ======== START OF CLASS DATA ======== -->
<div class="header"> <div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.json</a></div> <div class="subTitle">org.json</div>
<h1 title="Class HTTPTokener" class="title">Class HTTPTokener</h1> <h2 title="Class HTTPTokener" class="title">Class HTTPTokener</h2>
</div> </div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> <div class="contentContainer">
<div class="inheritance"><a href="JSONTokener.html" title="class in org.json">org.json.JSONTokener</a> <ul class="inheritance">
<div class="inheritance">org.json.HTTPTokener</div> <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
</div> <li>
</div> <ul class="inheritance">
<section class="class-description" id="class-description"> <li><a href="../../org/json/JSONTokener.html" title="class in org.json">org.json.JSONTokener</a></li>
<li>
<ul class="inheritance">
<li>org.json.HTTPTokener</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr> <hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">HTTPTokener</span> <br>
<span class="extends-implements">extends <a href="JSONTokener.html" title="class in org.json">JSONTokener</a></span></div> <pre>public class <span class="typeNameLabel">HTTPTokener</span>
extends <a href="../../org/json/JSONTokener.html" title="class in org.json">JSONTokener</a></pre>
<div class="block">The HTTPTokener extends the JSONTokener to provide additional methods <div class="block">The HTTPTokener extends the JSONTokener to provide additional methods
for the parsing of HTTP headers.</div> for the parsing of HTTP headers.</div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li>
<section class="constructor-summary" id="constructor-summary">
<h2>Constructor Summary</h2>
<div class="caption"><span>Constructors</span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(java.lang.String)" class="member-name-link">HTTPTokener</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;string)</code></div>
<div class="col-last even-row-color">
<div class="block">Construct an HTTPTokener from a string.</div>
</div>
</div>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#nextToken()" class="member-name-link">nextToken</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Get the next token or string.</div>
</div>
</div>
</div>
</div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-org.json.JSONTokener">Methods inherited from class&nbsp;org.json.<a href="JSONTokener.html" title="class in org.json">JSONTokener</a></h3>
<code><a href="JSONTokener.html#back()">back</a>, <a href="JSONTokener.html#close()">close</a>, <a href="JSONTokener.html#dehexchar(char)">dehexchar</a>, <a href="JSONTokener.html#end()">end</a>, <a href="JSONTokener.html#getPrevious()">getPrevious</a>, <a href="JSONTokener.html#more()">more</a>, <a href="JSONTokener.html#next()">next</a>, <a href="JSONTokener.html#next(char)">next</a>, <a href="JSONTokener.html#next(int)">next</a>, <a href="JSONTokener.html#nextClean()">nextClean</a>, <a href="JSONTokener.html#nextString(char)">nextString</a>, <a href="JSONTokener.html#nextTo(char)">nextTo</a>, <a href="JSONTokener.html#nextTo(java.lang.String)">nextTo</a>, <a href="JSONTokener.html#nextValue()">nextValue</a>, <a href="JSONTokener.html#skipTo(char)">skipTo</a>, <a href="JSONTokener.html#syntaxError(java.lang.String)">syntaxError</a>, <a href="JSONTokener.html#syntaxError(java.lang.String,java.lang.Throwable)">syntaxError</a>, <a href="JSONTokener.html#toString()">toString</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
</section>
</li> </li>
</ul> </ul>
</section> </div>
<section class="details"> <div class="summary">
<ul class="details-list"> <ul class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== --> <li class="blockList">
<li> <!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section class="constructor-details" id="constructor-detail"> <ul class="blockList">
<h2>Constructor Details</h2> <li class="blockList"><a name="constructor.summary">
<ul class="member-list"> <!-- -->
<li> </a>
<section class="detail" id="&lt;init&gt;(java.lang.String)"> <h3>Constructor Summary</h3>
<h3>HTTPTokener</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">HTTPTokener</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;string)</span></div> <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../org/json/HTTPTokener.html#HTTPTokener-java.lang.String-">HTTPTokener</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)</code>
<div class="block">Construct an HTTPTokener from a string.</div> <div class="block">Construct an HTTPTokener from a string.</div>
<dl class="notes"> </td>
<dt>Parameters:</dt> </tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/HTTPTokener.html#nextToken--">nextToken</a></span>()</code>
<div class="block">Get the next token or string.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.json.JSONTokener">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.json.<a href="../../org/json/JSONTokener.html" title="class in org.json">JSONTokener</a></h3>
<code><a href="../../org/json/JSONTokener.html#back--">back</a>, <a href="../../org/json/JSONTokener.html#close--">close</a>, <a href="../../org/json/JSONTokener.html#dehexchar-char-">dehexchar</a>, <a href="../../org/json/JSONTokener.html#end--">end</a>, <a href="../../org/json/JSONTokener.html#getJsonParserConfiguration--">getJsonParserConfiguration</a>, <a href="../../org/json/JSONTokener.html#getPrevious--">getPrevious</a>, <a href="../../org/json/JSONTokener.html#more--">more</a>, <a href="../../org/json/JSONTokener.html#next--">next</a>, <a href="../../org/json/JSONTokener.html#next-char-">next</a>, <a href="../../org/json/JSONTokener.html#next-int-">next</a>, <a href="../../org/json/JSONTokener.html#nextClean--">nextClean</a>, <a href="../../org/json/JSONTokener.html#nextString-char-">nextString</a>, <a href="../../org/json/JSONTokener.html#nextTo-char-">nextTo</a>, <a href="../../org/json/JSONTokener.html#nextTo-java.lang.String-">nextTo</a>, <a href="../../org/json/JSONTokener.html#nextValue--">nextValue</a>, <a href="../../org/json/JSONTokener.html#setJsonParserConfiguration-org.json.JSONParserConfiguration-">setJsonParserConfiguration</a>, <a href="../../org/json/JSONTokener.html#skipTo-char-">skipTo</a>, <a href="../../org/json/JSONTokener.html#syntaxError-java.lang.String-">syntaxError</a>, <a href="../../org/json/JSONTokener.html#syntaxError-java.lang.String-java.lang.Throwable-">syntaxError</a>, <a href="../../org/json/JSONTokener.html#toString--">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="HTTPTokener-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>HTTPTokener</h4>
<pre>public&nbsp;HTTPTokener(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)</pre>
<div class="block">Construct an HTTPTokener from a string.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>string</code> - A source string.</dd> <dd><code>string</code> - A source string.</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul>
<!-- ============ METHOD DETAIL ========== --> <!-- ============ METHOD DETAIL ========== -->
<li> <ul class="blockList">
<section class="method-details" id="method-detail"> <li class="blockList"><a name="method.detail">
<h2>Method Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Method Detail</h3>
<section class="detail" id="nextToken()"> <a name="nextToken--">
<h3>nextToken</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">nextToken</span>() </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockListLast">
<li class="blockList">
<h4>nextToken</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;nextToken()
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block">Get the next token or string. This is used in parsing HTTP headers.</div> <div class="block">Get the next token or string. This is used in parsing HTTP headers.</div>
<dl class="notes"> <dl>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>A String.</dd> <dd>A String.</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - if a syntax error occurs</dd> <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - if a syntax error occurs</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul> </ul>
</section> </li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= --> <!-- ========= END OF CLASS DATA ========= -->
</main> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/json/HTTP.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/JSONArray.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/HTTPTokener.html" target="_top">Frames</a></li>
<li><a href="HTTPTokener.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

View File

@ -1,193 +1,316 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>JSONException</title> <title>JSONException</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="declaration: package: org.json, class: JSONException">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="class-declaration-page"> <body>
<script type="text/javascript">var pathtoroot = "../../"; <script type="text/javascript"><!--
loadScripts(document, 'script');</script> try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="JSONException";
}
}
catch(err) {
}
//-->
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<li><a href="package-summary.html">Package</a></li> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<li class="nav-bar-cell1-rev">Class</li> <a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li> <li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li> <li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html#class">Help</a></li> <li><a href="../../help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONArray.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/JSONML.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/JSONException.html" target="_top">Frames</a></li>
<li><a href="JSONException.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div> <div>
<ul class="sub-nav-list"> <script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li> <li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
</ul> </ul>
<ul class="sub-nav-list"> <ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li>Method</li> <li>Method</li>
</ul> </ul>
</div> </div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <a name="skip.navbar.top">
<input type="text" id="search-input" value="search" disabled="disabled"> <!-- -->
<input type="reset" id="reset-button" value="reset" disabled="disabled"> </a></div>
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== --> <!-- ======== START OF CLASS DATA ======== -->
<div class="header"> <div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.json</a></div> <div class="subTitle">org.json</div>
<h1 title="Class JSONException" class="title">Class JSONException</h1> <h2 title="Class JSONException" class="title">Class JSONException</h2>
</div> </div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> <div class="contentContainer">
<div class="inheritance"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">java.lang.Throwable</a> <ul class="inheritance">
<div class="inheritance"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Exception.html" title="class or interface in java.lang" class="external-link">java.lang.Exception</a> <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<div class="inheritance"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/RuntimeException.html" title="class or interface in java.lang" class="external-link">java.lang.RuntimeException</a> <li>
<div class="inheritance">org.json.JSONException</div> <ul class="inheritance">
</div> <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">java.lang.Throwable</a></li>
</div> <li>
</div> <ul class="inheritance">
</div> <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">java.lang.Exception</a></li>
<section class="class-description" id="class-description"> <li>
<dl class="notes"> <ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">java.lang.RuntimeException</a></li>
<li>
<ul class="inheritance">
<li>org.json.JSONException</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt> <dt>All Implemented Interfaces:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/Serializable.html" title="class or interface in java.io" class="external-link">Serializable</a></code></dd> <dd><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd>
</dl> </dl>
<dl class="notes"> <dl>
<dt>Direct Known Subclasses:</dt> <dt>Direct Known Subclasses:</dt>
<dd><code><a href="JSONPointerException.html" title="class in org.json">JSONPointerException</a></code></dd> <dd><a href="../../org/json/JSONPointerException.html" title="class in org.json">JSONPointerException</a></dd>
</dl> </dl>
<hr> <hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">JSONException</span> <br>
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/RuntimeException.html" title="class or interface in java.lang" class="external-link">RuntimeException</a></span></div> <pre>public class <span class="typeNameLabel">JSONException</span>
extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">RuntimeException</a></pre>
<div class="block">The JSONException is thrown by the JSON.org classes when things are amiss.</div> <div class="block">The JSONException is thrown by the JSON.org classes when things are amiss.</div>
<dl class="notes"> <dl>
<dt>See Also:</dt> <dt><span class="seeLabel">See Also:</span></dt>
<dd> <dd><a href="../../serialized-form.html#org.json.JSONException">Serialized Form</a></dd>
<ul class="see-list">
<li><a href="../../serialized-form.html#org.json.JSONException">Serialized Form</a></li>
</ul>
</dd>
</dl> </dl>
</section> </li>
<section class="summary"> </ul>
<ul class="summary-list"> </div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== --> <!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li> <ul class="blockList">
<section class="constructor-summary" id="constructor-summary"> <li class="blockList"><a name="constructor.summary">
<h2>Constructor Summary</h2> <!-- -->
<div class="caption"><span>Constructors</span></div> </a>
<div class="summary-table two-column-summary"> <h3>Constructor Summary</h3>
<div class="table-header col-first">Constructor</div> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<div class="table-header col-last">Description</div> <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(java.lang.String)" class="member-name-link">JSONException</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;message)</code></div> <tr>
<div class="col-last even-row-color"> <th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../org/json/JSONException.html#JSONException-java.lang.String-">JSONException</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;message)</code>
<div class="block">Constructs a JSONException with an explanatory message.</div> <div class="block">Constructs a JSONException with an explanatory message.</div>
</div> </td>
<div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(java.lang.String,java.lang.Throwable)" class="member-name-link">JSONException</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;message, </tr>
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a>&nbsp;cause)</code></div> <tr class="rowColor">
<div class="col-last odd-row-color"> <td class="colOne"><code><span class="memberNameLink"><a href="../../org/json/JSONException.html#JSONException-java.lang.String-java.lang.Throwable-">JSONException</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;message,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;cause)</code>
<div class="block">Constructs a JSONException with an explanatory message and cause.</div> <div class="block">Constructs a JSONException with an explanatory message and cause.</div>
</div> </td>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(java.lang.Throwable)" class="member-name-link">JSONException</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a>&nbsp;cause)</code></div> </tr>
<div class="col-last even-row-color"> <tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../org/json/JSONException.html#JSONException-java.lang.Throwable-">JSONException</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;cause)</code>
<div class="block">Constructs a new JSONException with the specified cause.</div> <div class="block">Constructs a new JSONException with the specified cause.</div>
</div> </td>
</div> </tr>
</section> </table>
</li> </li>
</ul>
<!-- ========== METHOD SUMMARY =========== --> <!-- ========== METHOD SUMMARY =========== -->
<li> <ul class="blockList">
<section class="method-summary" id="method-summary"> <li class="blockList"><a name="method.summary">
<h2>Method Summary</h2> <!-- -->
<div class="inherited-list"> </a>
<h3 id="methods-inherited-from-class-java.lang.Throwable">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a></h3> <h3>Method Summary</h3>
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#addSuppressed(java.lang.Throwable)" title="class or interface in java.lang" class="external-link">addSuppressed</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#fillInStackTrace()" title="class or interface in java.lang" class="external-link">fillInStackTrace</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#getCause()" title="class or interface in java.lang" class="external-link">getCause</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#getLocalizedMessage()" title="class or interface in java.lang" class="external-link">getLocalizedMessage</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#getMessage()" title="class or interface in java.lang" class="external-link">getMessage</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#getStackTrace()" title="class or interface in java.lang" class="external-link">getStackTrace</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#getSuppressed()" title="class or interface in java.lang" class="external-link">getSuppressed</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#initCause(java.lang.Throwable)" title="class or interface in java.lang" class="external-link">initCause</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#printStackTrace()" title="class or interface in java.lang" class="external-link">printStackTrace</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#printStackTrace(java.io.PrintStream)" title="class or interface in java.lang" class="external-link">printStackTrace</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#printStackTrace(java.io.PrintWriter)" title="class or interface in java.lang" class="external-link">printStackTrace</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#setStackTrace(java.lang.StackTraceElement%5B%5D)" title="class or interface in java.lang" class="external-link">setStackTrace</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#toString()" title="class or interface in java.lang" class="external-link">toString</a></code></div> <ul class="blockList">
<div class="inherited-list"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> <!-- -->
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> </a>
</section> <h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#addSuppressed-java.lang.Throwable-" title="class or interface in java.lang">addSuppressed</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace--" title="class or interface in java.lang">fillInStackTrace</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getCause--" title="class or interface in java.lang">getCause</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage--" title="class or interface in java.lang">getLocalizedMessage</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getMessage--" title="class or interface in java.lang">getMessage</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getStackTrace--" title="class or interface in java.lang">getStackTrace</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getSuppressed--" title="class or interface in java.lang">getSuppressed</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#initCause-java.lang.Throwable-" title="class or interface in java.lang">initCause</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace--" title="class or interface in java.lang">printStackTrace</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace-java.io.PrintStream-" title="class or interface in java.lang">printStackTrace</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace-java.io.PrintWriter-" title="class or interface in java.lang">printStackTrace</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#setStackTrace-java.lang.StackTraceElement:A-" title="class or interface in java.lang">setStackTrace</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li> </li>
</ul> </ul>
</section> </li>
<section class="details"> </ul>
<ul class="details-list"> </div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== --> <!-- ========= CONSTRUCTOR DETAIL ======== -->
<li> <ul class="blockList">
<section class="constructor-details" id="constructor-detail"> <li class="blockList"><a name="constructor.detail">
<h2>Constructor Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Constructor Detail</h3>
<section class="detail" id="&lt;init&gt;(java.lang.String)"> <a name="JSONException-java.lang.String-">
<h3>JSONException</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">JSONException</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;message)</span></div> </a>
<ul class="blockList">
<li class="blockList">
<h4>JSONException</h4>
<pre>public&nbsp;JSONException(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;message)</pre>
<div class="block">Constructs a JSONException with an explanatory message.</div> <div class="block">Constructs a JSONException with an explanatory message.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>message</code> - Detail about the reason for the exception.</dd> <dd><code>message</code> - Detail about the reason for the exception.</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="&lt;init&gt;(java.lang.String,java.lang.Throwable)"> <a name="JSONException-java.lang.String-java.lang.Throwable-">
<h3>JSONException</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">JSONException</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;message, </a>
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a>&nbsp;cause)</span></div> <ul class="blockList">
<li class="blockList">
<h4>JSONException</h4>
<pre>public&nbsp;JSONException(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;message,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;cause)</pre>
<div class="block">Constructs a JSONException with an explanatory message and cause.</div> <div class="block">Constructs a JSONException with an explanatory message and cause.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>message</code> - Detail about the reason for the exception.</dd> <dd><code>message</code> - Detail about the reason for the exception.</dd>
<dd><code>cause</code> - The cause.</dd> <dd><code>cause</code> - The cause.</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="&lt;init&gt;(java.lang.Throwable)"> <a name="JSONException-java.lang.Throwable-">
<h3>JSONException</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">JSONException</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a>&nbsp;cause)</span></div> </a>
<ul class="blockListLast">
<li class="blockList">
<h4>JSONException</h4>
<pre>public&nbsp;JSONException(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;cause)</pre>
<div class="block">Constructs a new JSONException with the specified cause.</div> <div class="block">Constructs a new JSONException with the specified cause.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cause</code> - The cause.</dd> <dd><code>cause</code> - The cause.</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul> </ul>
</section> </li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= --> <!-- ========= END OF CLASS DATA ========= -->
</main> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONArray.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/JSONML.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/JSONException.html" target="_top">Frames</a></li>
<li><a href="JSONException.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li>Method</li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

View File

@ -1,312 +1,456 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>JSONMLParserConfiguration</title> <title>JSONMLParserConfiguration</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="declaration: package: org.json, class: JSONMLParserConfiguration">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="class-declaration-page"> <body>
<script type="text/javascript">var evenRowColor = "even-row-color"; <script type="text/javascript"><!--
var oddRowColor = "odd-row-color"; try {
var tableTab = "table-tab"; if (location.href.indexOf('is-external=true') == -1) {
var activeTableTab = "active-table-tab"; parent.document.title="JSONMLParserConfiguration";
var pathtoroot = "../../"; }
loadScripts(document, 'script');</script> }
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<li><a href="package-summary.html">Package</a></li> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<li class="nav-bar-cell1-rev">Class</li> <a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li> <li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li> <li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html#class">Help</a></li> <li><a href="../../help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONML.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/JSONObject.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/JSONMLParserConfiguration.html" target="_top">Frames</a></li>
<li><a href="JSONMLParserConfiguration.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div> <div>
<ul class="sub-nav-list"> <script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field-summary">Field</a>&nbsp;|&nbsp;</li> <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li> <li><a href="#method.summary">Method</a></li>
</ul> </ul>
<ul class="sub-nav-list"> <ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li><a href="#field-detail">Field</a>&nbsp;|&nbsp;</li> <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li> <li><a href="#method.detail">Method</a></li>
</ul> </ul>
</div> </div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <a name="skip.navbar.top">
<input type="text" id="search-input" value="search" disabled="disabled"> <!-- -->
<input type="reset" id="reset-button" value="reset" disabled="disabled"> </a></div>
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== --> <!-- ======== START OF CLASS DATA ======== -->
<div class="header"> <div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.json</a></div> <div class="subTitle">org.json</div>
<h1 title="Class JSONMLParserConfiguration" class="title">Class JSONMLParserConfiguration</h1> <h2 title="Class JSONMLParserConfiguration" class="title">Class JSONMLParserConfiguration</h2>
</div> </div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> <div class="contentContainer">
<div class="inheritance"><a href="ParserConfiguration.html" title="class in org.json">org.json.ParserConfiguration</a> <ul class="inheritance">
<div class="inheritance">org.json.JSONMLParserConfiguration</div> <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
</div> <li>
</div> <ul class="inheritance">
<section class="class-description" id="class-description"> <li><a href="../../org/json/ParserConfiguration.html" title="class in org.json">org.json.ParserConfiguration</a></li>
<li>
<ul class="inheritance">
<li>org.json.JSONMLParserConfiguration</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr> <hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">JSONMLParserConfiguration</span> <br>
<span class="extends-implements">extends <a href="ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></span></div> <pre>public class <span class="typeNameLabel">JSONMLParserConfiguration</span>
extends <a href="../../org/json/ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></pre>
<div class="block">Configuration object for the XML to JSONML parser. The configuration is immutable.</div> <div class="block">Configuration object for the XML to JSONML parser. The configuration is immutable.</div>
</section> </li>
<section class="summary"> </ul>
<ul class="summary-list"> </div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== --> <!-- =========== FIELD SUMMARY =========== -->
<li> <ul class="blockList">
<section class="field-summary" id="field-summary"> <li class="blockList"><a name="field.summary">
<h2>Field Summary</h2> <!-- -->
<div class="caption"><span>Fields</span></div> </a>
<div class="summary-table three-column-summary"> <h3>Field Summary</h3>
<div class="table-header col-first">Modifier and Type</div> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<div class="table-header col-second">Field</div> <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<div class="table-header col-last">Description</div> <tr>
<div class="col-first even-row-color"><code>static final int</code></div> <th class="colFirst" scope="col">Modifier and Type</th>
<div class="col-second even-row-color"><code><a href="#DEFAULT_MAXIMUM_NESTING_DEPTH" class="member-name-link">DEFAULT_MAXIMUM_NESTING_DEPTH</a></code></div> <th class="colLast" scope="col">Field and Description</th>
<div class="col-last even-row-color"> </tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONMLParserConfiguration.html#DEFAULT_MAXIMUM_NESTING_DEPTH">DEFAULT_MAXIMUM_NESTING_DEPTH</a></span></code>
<div class="block">We can override the default maximum nesting depth if needed.</div> <div class="block">We can override the default maximum nesting depth if needed.</div>
</div> </td>
<div class="col-first odd-row-color"><code>static final <a href="JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a></code></div> </tr>
<div class="col-second odd-row-color"><code><a href="#KEEP_STRINGS" class="member-name-link">KEEP_STRINGS</a></code></div> <tr class="rowColor">
<div class="col-last odd-row-color"> <td class="colFirst"><code>static <a href="../../org/json/JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONMLParserConfiguration.html#KEEP_STRINGS">KEEP_STRINGS</a></span></code>
<div class="block">Original configuration of the XML to JSONML Parser except that values are kept as strings.</div> <div class="block">Original configuration of the XML to JSONML Parser except that values are kept as strings.</div>
</div> </td>
<div class="col-first even-row-color"><code>static final <a href="JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a></code></div> </tr>
<div class="col-second even-row-color"><code><a href="#ORIGINAL" class="member-name-link">ORIGINAL</a></code></div> <tr class="altColor">
<div class="col-last even-row-color"> <td class="colFirst"><code>static <a href="../../org/json/JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONMLParserConfiguration.html#ORIGINAL">ORIGINAL</a></span></code>
<div class="block">Original Configuration of the XML to JSONML Parser.</div> <div class="block">Original Configuration of the XML to JSONML Parser.</div>
</div> </td>
</div> </tr>
<div class="inherited-list"> </table>
<h3 id="fields-inherited-from-class-org.json.ParserConfiguration">Fields inherited from class&nbsp;org.json.<a href="ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></h3> <ul class="blockList">
<code><a href="ParserConfiguration.html#keepStrings">keepStrings</a>, <a href="ParserConfiguration.html#maxNestingDepth">maxNestingDepth</a>, <a href="ParserConfiguration.html#UNDEFINED_MAXIMUM_NESTING_DEPTH">UNDEFINED_MAXIMUM_NESTING_DEPTH</a></code></div> <li class="blockList"><a name="fields.inherited.from.class.org.json.ParserConfiguration">
</section> <!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.json.<a href="../../org/json/ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></h3>
<code><a href="../../org/json/ParserConfiguration.html#keepStrings">keepStrings</a>, <a href="../../org/json/ParserConfiguration.html#maxNestingDepth">maxNestingDepth</a>, <a href="../../org/json/ParserConfiguration.html#UNDEFINED_MAXIMUM_NESTING_DEPTH">UNDEFINED_MAXIMUM_NESTING_DEPTH</a></code></li>
</ul>
</li> </li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== --> <!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li> <ul class="blockList">
<section class="constructor-summary" id="constructor-summary"> <li class="blockList"><a name="constructor.summary">
<h2>Constructor Summary</h2> <!-- -->
<div class="caption"><span>Constructors</span></div> </a>
<div class="summary-table three-column-summary"> <h3>Constructor Summary</h3>
<div class="table-header col-first">Modifier</div> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<div class="table-header col-second">Constructor</div> <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<div class="table-header col-last">Description</div> <tr>
<div class="col-first even-row-color"><code>&nbsp;</code></div> <th class="colFirst" scope="col">Modifier</th>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">JSONMLParserConfiguration</a>()</code></div> <th class="colLast" scope="col">Constructor and Description</th>
<div class="col-last even-row-color"> </tr>
<tr class="altColor">
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONMLParserConfiguration.html#JSONMLParserConfiguration--">JSONMLParserConfiguration</a></span>()</code>
<div class="block">Default parser configuration.</div> <div class="block">Default parser configuration.</div>
</div> </td>
<div class="col-first odd-row-color"><code>protected </code></div> </tr>
<div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(boolean,int)" class="member-name-link">JSONMLParserConfiguration</a><wbr>(boolean&nbsp;keepStrings, <tr class="rowColor">
int&nbsp;maxNestingDepth)</code></div> <td class="colFirst"><code>protected </code></td>
<div class="col-last odd-row-color"> <td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONMLParserConfiguration.html#JSONMLParserConfiguration-boolean-int-">JSONMLParserConfiguration</a></span>(boolean&nbsp;keepStrings,
int&nbsp;maxNestingDepth)</code>
<div class="block">Configure the parser string processing and use the default CDATA Tag Name as "content".</div> <div class="block">Configure the parser string processing and use the default CDATA Tag Name as "content".</div>
</div> </td>
</div> </tr>
</section> </table>
</li> </li>
</ul>
<!-- ========== METHOD SUMMARY =========== --> <!-- ========== METHOD SUMMARY =========== -->
<li> <ul class="blockList">
<section class="method-summary" id="method-summary"> <li class="blockList"><a name="method.summary">
<h2>Method Summary</h2> <!-- -->
<div id="method-summary-table"> </a>
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> <h3>Method Summary</h3>
<div id="method-summary-table.tabpanel" role="tabpanel"> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<div class="table-header col-first">Modifier and Type</div> <tr>
<div class="table-header col-second">Method</div> <th class="colFirst" scope="col">Modifier and Type</th>
<div class="table-header col-last">Description</div> <th class="colLast" scope="col">Method and Description</th>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a></code></div> </tr>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clone()" class="member-name-link">clone</a>()</code></div> <tr id="i0" class="altColor">
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> <td class="colFirst"><code>protected <a href="../../org/json/JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONMLParserConfiguration.html#clone--">clone</a></span>()</code>
<div class="block">Provides a new instance of the same configuration.</div> <div class="block">Provides a new instance of the same configuration.</div>
</div> </td>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a></code></div> </tr>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#withKeepStrings(boolean)" class="member-name-link">withKeepStrings</a><wbr>(boolean&nbsp;newVal)</code></div> <tr id="i1" class="rowColor">
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> <td class="colFirst"><code><a href="../../org/json/JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONMLParserConfiguration.html#withKeepStrings-boolean-">withKeepStrings</a></span>(boolean&nbsp;newVal)</code>
<div class="block">When parsing the XML into JSONML, specifies if values should be kept as strings (<code>true</code>), or if <div class="block">When parsing the XML into JSONML, specifies if values should be kept as strings (<code>true</code>), or if
they should try to be guessed into JSON values (numeric, boolean, string)</div> they should try to be guessed into JSON values (numeric, boolean, string)</div>
</div> </td>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a></code></div> </tr>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#withMaxNestingDepth(int)" class="member-name-link">withMaxNestingDepth</a><wbr>(int&nbsp;maxNestingDepth)</code></div> <tr id="i2" class="altColor">
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> <td class="colFirst"><code><a href="../../org/json/JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONMLParserConfiguration.html#withMaxNestingDepth-int-">withMaxNestingDepth</a></span>(int&nbsp;maxNestingDepth)</code>
<div class="block">Defines the maximum nesting depth that the parser will descend before throwing an exception <div class="block">Defines the maximum nesting depth that the parser will descend before throwing an exception
when parsing the XML into JSONML.</div> when parsing an object (e.g.</div>
</div> </td>
</div> </tr>
</div> </table>
</div> <ul class="blockList">
<div class="inherited-list"> <li class="blockList"><a name="methods.inherited.from.class.org.json.ParserConfiguration">
<h3 id="methods-inherited-from-class-org.json.ParserConfiguration">Methods inherited from class&nbsp;org.json.<a href="ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></h3> <!-- -->
<code><a href="ParserConfiguration.html#getMaxNestingDepth()">getMaxNestingDepth</a>, <a href="ParserConfiguration.html#isKeepStrings()">isKeepStrings</a></code></div> </a>
<div class="inherited-list"> <h3>Methods inherited from class&nbsp;org.json.<a href="../../org/json/ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></h3>
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> <code><a href="../../org/json/ParserConfiguration.html#getMaxNestingDepth--">getMaxNestingDepth</a>, <a href="../../org/json/ParserConfiguration.html#isKeepStrings--">isKeepStrings</a></code></li>
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> </ul>
</section> <ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li> </li>
</ul> </ul>
</section> </li>
<section class="details"> </ul>
<ul class="details-list"> </div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== --> <!-- ============ FIELD DETAIL =========== -->
<li> <ul class="blockList">
<section class="field-details" id="field-detail"> <li class="blockList"><a name="field.detail">
<h2>Field Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Field Detail</h3>
<section class="detail" id="DEFAULT_MAXIMUM_NESTING_DEPTH"> <a name="DEFAULT_MAXIMUM_NESTING_DEPTH">
<h3>DEFAULT_MAXIMUM_NESTING_DEPTH</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">DEFAULT_MAXIMUM_NESTING_DEPTH</span></div> </a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_MAXIMUM_NESTING_DEPTH</h4>
<pre>public static final&nbsp;int DEFAULT_MAXIMUM_NESTING_DEPTH</pre>
<div class="block">We can override the default maximum nesting depth if needed.</div> <div class="block">We can override the default maximum nesting depth if needed.</div>
<dl class="notes"> <dl>
<dt>See Also:</dt> <dt><span class="seeLabel">See Also:</span></dt>
<dd> <dd><a href="../../constant-values.html#org.json.JSONMLParserConfiguration.DEFAULT_MAXIMUM_NESTING_DEPTH">Constant Field Values</a></dd>
<ul class="see-list">
<li><a href="../../constant-values.html#org.json.JSONMLParserConfiguration.DEFAULT_MAXIMUM_NESTING_DEPTH">Constant Field Values</a></li>
</ul>
</dd>
</dl> </dl>
</section>
</li>
<li>
<section class="detail" id="ORIGINAL">
<h3>ORIGINAL</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type"><a href="JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a></span>&nbsp;<span class="element-name">ORIGINAL</span></div>
<div class="block">Original Configuration of the XML to JSONML Parser.</div>
</section>
</li>
<li>
<section class="detail" id="KEEP_STRINGS">
<h3>KEEP_STRINGS</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type"><a href="JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a></span>&nbsp;<span class="element-name">KEEP_STRINGS</span></div>
<div class="block">Original configuration of the XML to JSONML Parser except that values are kept as strings.</div>
</section>
</li> </li>
</ul> </ul>
</section> <a name="ORIGINAL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ORIGINAL</h4>
<pre>public static final&nbsp;<a href="../../org/json/JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a> ORIGINAL</pre>
<div class="block">Original Configuration of the XML to JSONML Parser.</div>
</li> </li>
</ul>
<a name="KEEP_STRINGS">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>KEEP_STRINGS</h4>
<pre>public static final&nbsp;<a href="../../org/json/JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a> KEEP_STRINGS</pre>
<div class="block">Original configuration of the XML to JSONML Parser except that values are kept as strings.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== --> <!-- ========= CONSTRUCTOR DETAIL ======== -->
<li> <ul class="blockList">
<section class="constructor-details" id="constructor-detail"> <li class="blockList"><a name="constructor.detail">
<h2>Constructor Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Constructor Detail</h3>
<section class="detail" id="&lt;init&gt;()"> <a name="JSONMLParserConfiguration--">
<h3>JSONMLParserConfiguration</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">JSONMLParserConfiguration</span>()</div> </a>
<ul class="blockList">
<li class="blockList">
<h4>JSONMLParserConfiguration</h4>
<pre>public&nbsp;JSONMLParserConfiguration()</pre>
<div class="block">Default parser configuration. Does not keep strings (tries to implicitly convert values).</div> <div class="block">Default parser configuration. Does not keep strings (tries to implicitly convert values).</div>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="&lt;init&gt;(boolean,int)"> <a name="JSONMLParserConfiguration-boolean-int-">
<h3>JSONMLParserConfiguration</h3> <!-- -->
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="element-name">JSONMLParserConfiguration</span><wbr><span class="parameters">(boolean&nbsp;keepStrings, </a>
int&nbsp;maxNestingDepth)</span></div> <ul class="blockListLast">
<li class="blockList">
<h4>JSONMLParserConfiguration</h4>
<pre>protected&nbsp;JSONMLParserConfiguration(boolean&nbsp;keepStrings,
int&nbsp;maxNestingDepth)</pre>
<div class="block">Configure the parser string processing and use the default CDATA Tag Name as "content".</div> <div class="block">Configure the parser string processing and use the default CDATA Tag Name as "content".</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>keepStrings</code> - <code>true</code> to parse all values as string. <dd><code>keepStrings</code> - <code>true</code> to parse all values as string.
<code>false</code> to try and convert XML string values into a JSON value.</dd> <code>false</code> to try and convert XML string values into a JSON value.</dd>
<dd><code>maxNestingDepth</code> - <code>int</code> to limit the nesting depth</dd> <dd><code>maxNestingDepth</code> - <code>int</code> to limit the nesting depth</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul>
<!-- ============ METHOD DETAIL ========== --> <!-- ============ METHOD DETAIL ========== -->
<li> <ul class="blockList">
<section class="method-details" id="method-detail"> <li class="blockList"><a name="method.detail">
<h2>Method Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Method Detail</h3>
<section class="detail" id="clone()"> <a name="clone--">
<h3>clone</h3> <!-- -->
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type"><a href="JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a></span>&nbsp;<span class="element-name">clone</span>()</div> </a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>protected&nbsp;<a href="../../org/json/JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a>&nbsp;clone()</pre>
<div class="block">Provides a new instance of the same configuration.</div> <div class="block">Provides a new instance of the same configuration.</div>
<dl class="notes"> <dl>
<dt>Overrides:</dt> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="ParserConfiguration.html#clone()">clone</a></code>&nbsp;in class&nbsp;<code><a href="ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></code></dd> <dd><code><a href="../../org/json/ParserConfiguration.html#clone--">clone</a></code>&nbsp;in class&nbsp;<code><a href="../../org/json/ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></code></dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="withKeepStrings(boolean)"> <a name="withKeepStrings-boolean-">
<h3>withKeepStrings</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a></span>&nbsp;<span class="element-name">withKeepStrings</span><wbr><span class="parameters">(boolean&nbsp;newVal)</span></div> </a>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="ParserConfiguration.html#withKeepStrings(boolean)">ParserConfiguration</a></code></span></div> <ul class="blockList">
<li class="blockList">
<h4>withKeepStrings</h4>
<pre>public&nbsp;<a href="../../org/json/JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a>&nbsp;withKeepStrings(boolean&nbsp;newVal)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../org/json/ParserConfiguration.html#withKeepStrings-boolean-">ParserConfiguration</a></code></span></div>
<div class="block">When parsing the XML into JSONML, specifies if values should be kept as strings (<code>true</code>), or if <div class="block">When parsing the XML into JSONML, specifies if values should be kept as strings (<code>true</code>), or if
they should try to be guessed into JSON values (numeric, boolean, string)</div> they should try to be guessed into JSON values (numeric, boolean, string)</div>
<dl class="notes"> <dl>
<dt>Overrides:</dt> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="ParserConfiguration.html#withKeepStrings(boolean)">withKeepStrings</a></code>&nbsp;in class&nbsp;<code><a href="ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></code></dd> <dd><code><a href="../../org/json/ParserConfiguration.html#withKeepStrings-boolean-">withKeepStrings</a></code>&nbsp;in class&nbsp;<code><a href="../../org/json/ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></code></dd>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>newVal</code> - new value to use for the <code>keepStrings</code> configuration option.</dd> <dd><code>newVal</code> - new value to use for the <code>keepStrings</code> configuration option.</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>The existing configuration will not be modified. A new configuration is returned.</dd> <dd>The existing configuration will not be modified. A new configuration is returned.</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="withMaxNestingDepth(int)"> <a name="withMaxNestingDepth-int-">
<h3>withMaxNestingDepth</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a></span>&nbsp;<span class="element-name">withMaxNestingDepth</span><wbr><span class="parameters">(int&nbsp;maxNestingDepth)</span></div> </a>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="ParserConfiguration.html#withMaxNestingDepth(int)">ParserConfiguration</a></code></span></div> <ul class="blockListLast">
<li class="blockList">
<h4>withMaxNestingDepth</h4>
<pre>public&nbsp;<a href="../../org/json/JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a>&nbsp;withMaxNestingDepth(int&nbsp;maxNestingDepth)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../org/json/ParserConfiguration.html#withMaxNestingDepth-int-">ParserConfiguration</a></code></span></div>
<div class="block">Defines the maximum nesting depth that the parser will descend before throwing an exception <div class="block">Defines the maximum nesting depth that the parser will descend before throwing an exception
when parsing the XML into JSONML. The default max nesting depth is 512, which means the parser when parsing an object (e.g. Map, Collection) into JSON-related objects.
will throw a JsonException if the maximum depth is reached. The default max nesting depth is 512, which means the parser will throw a JsonException if
the maximum depth is reached.
Using any negative value as a parameter is equivalent to setting no limit to the nesting depth, Using any negative value as a parameter is equivalent to setting no limit to the nesting depth,
which means the parses will go as deep as the maximum call stack size allows.</div> which means the parses will go as deep as the maximum call stack size allows.</div>
<dl class="notes"> <dl>
<dt>Overrides:</dt> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="ParserConfiguration.html#withMaxNestingDepth(int)">withMaxNestingDepth</a></code>&nbsp;in class&nbsp;<code><a href="ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></code></dd> <dd><code><a href="../../org/json/ParserConfiguration.html#withMaxNestingDepth-int-">withMaxNestingDepth</a></code>&nbsp;in class&nbsp;<code><a href="../../org/json/ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></code></dd>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>maxNestingDepth</code> - the maximum nesting depth allowed to the XML parser</dd> <dd><code>maxNestingDepth</code> - the maximum nesting depth allowed to the XML parser</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>The existing configuration will not be modified. A new configuration is returned.</dd> <dd>The existing configuration will not be modified. A new configuration is returned.</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul> </ul>
</section> </li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= --> <!-- ========= END OF CLASS DATA ========= -->
</main> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONML.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/JSONObject.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/JSONMLParserConfiguration.html" target="_top">Frames</a></li>
<li><a href="JSONMLParserConfiguration.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

View File

@ -1,210 +1,448 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>JSONParserConfiguration</title> <title>JSONParserConfiguration</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="declaration: package: org.json, class: JSONParserConfiguration">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="class-declaration-page"> <body>
<script type="text/javascript">var evenRowColor = "even-row-color"; <script type="text/javascript"><!--
var oddRowColor = "odd-row-color"; try {
var tableTab = "table-tab"; if (location.href.indexOf('is-external=true') == -1) {
var activeTableTab = "active-table-tab"; parent.document.title="JSONParserConfiguration";
var pathtoroot = "../../"; }
loadScripts(document, 'script');</script> }
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<li><a href="package-summary.html">Package</a></li> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<li class="nav-bar-cell1-rev">Class</li> <a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li> <li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li> <li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html#class">Help</a></li> <li><a href="../../help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONObject.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/JSONPointer.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/JSONParserConfiguration.html" target="_top">Frames</a></li>
<li><a href="JSONParserConfiguration.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div> <div>
<ul class="sub-nav-list"> <script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field-summary">Field</a>&nbsp;|&nbsp;</li> <li><a href="#fields.inherited.from.class.org.json.ParserConfiguration">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li> <li><a href="#method.summary">Method</a></li>
</ul> </ul>
<ul class="sub-nav-list"> <ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li> <li><a href="#method.detail">Method</a></li>
</ul> </ul>
</div> </div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <a name="skip.navbar.top">
<input type="text" id="search-input" value="search" disabled="disabled"> <!-- -->
<input type="reset" id="reset-button" value="reset" disabled="disabled"> </a></div>
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== --> <!-- ======== START OF CLASS DATA ======== -->
<div class="header"> <div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.json</a></div> <div class="subTitle">org.json</div>
<h1 title="Class JSONParserConfiguration" class="title">Class JSONParserConfiguration</h1> <h2 title="Class JSONParserConfiguration" class="title">Class JSONParserConfiguration</h2>
</div> </div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> <div class="contentContainer">
<div class="inheritance"><a href="ParserConfiguration.html" title="class in org.json">org.json.ParserConfiguration</a> <ul class="inheritance">
<div class="inheritance">org.json.JSONParserConfiguration</div> <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
</div> <li>
</div> <ul class="inheritance">
<section class="class-description" id="class-description"> <li><a href="../../org/json/ParserConfiguration.html" title="class in org.json">org.json.ParserConfiguration</a></li>
<li>
<ul class="inheritance">
<li>org.json.JSONParserConfiguration</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr> <hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">JSONParserConfiguration</span> <br>
<span class="extends-implements">extends <a href="ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></span></div> <pre>public class <span class="typeNameLabel">JSONParserConfiguration</span>
extends <a href="../../org/json/ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></pre>
<div class="block">Configuration object for the JSON parser. The configuration is immutable.</div> <div class="block">Configuration object for the JSON parser. The configuration is immutable.</div>
</section> </li>
<section class="summary"> </ul>
<ul class="summary-list"> </div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== --> <!-- =========== FIELD SUMMARY =========== -->
<li> <ul class="blockList">
<section class="field-summary" id="field-summary"> <li class="blockList"><a name="field.summary">
<h2>Field Summary</h2> <!-- -->
<div class="inherited-list"> </a>
<h3 id="fields-inherited-from-class-org.json.ParserConfiguration">Fields inherited from class&nbsp;org.json.<a href="ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></h3> <h3>Field Summary</h3>
<code><a href="ParserConfiguration.html#DEFAULT_MAXIMUM_NESTING_DEPTH">DEFAULT_MAXIMUM_NESTING_DEPTH</a>, <a href="ParserConfiguration.html#keepStrings">keepStrings</a>, <a href="ParserConfiguration.html#maxNestingDepth">maxNestingDepth</a>, <a href="ParserConfiguration.html#UNDEFINED_MAXIMUM_NESTING_DEPTH">UNDEFINED_MAXIMUM_NESTING_DEPTH</a></code></div> <ul class="blockList">
</section> <li class="blockList"><a name="fields.inherited.from.class.org.json.ParserConfiguration">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.json.<a href="../../org/json/ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></h3>
<code><a href="../../org/json/ParserConfiguration.html#DEFAULT_MAXIMUM_NESTING_DEPTH">DEFAULT_MAXIMUM_NESTING_DEPTH</a>, <a href="../../org/json/ParserConfiguration.html#keepStrings">keepStrings</a>, <a href="../../org/json/ParserConfiguration.html#maxNestingDepth">maxNestingDepth</a>, <a href="../../org/json/ParserConfiguration.html#UNDEFINED_MAXIMUM_NESTING_DEPTH">UNDEFINED_MAXIMUM_NESTING_DEPTH</a></code></li>
</ul>
</li> </li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== --> <!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li> <ul class="blockList">
<section class="constructor-summary" id="constructor-summary"> <li class="blockList"><a name="constructor.summary">
<h2>Constructor Summary</h2> <!-- -->
<div class="caption"><span>Constructors</span></div> </a>
<div class="summary-table two-column-summary"> <h3>Constructor Summary</h3>
<div class="table-header col-first">Constructor</div> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<div class="table-header col-last">Description</div> <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">JSONParserConfiguration</a>()</code></div> <tr>
<div class="col-last even-row-color"> <th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../org/json/JSONParserConfiguration.html#JSONParserConfiguration--">JSONParserConfiguration</a></span>()</code>
<div class="block">Configuration with the default values.</div> <div class="block">Configuration with the default values.</div>
</div> </td>
</div> </tr>
</section> </table>
</li> </li>
</ul>
<!-- ========== METHOD SUMMARY =========== --> <!-- ========== METHOD SUMMARY =========== -->
<li> <ul class="blockList">
<section class="method-summary" id="method-summary"> <li class="blockList"><a name="method.summary">
<h2>Method Summary</h2> <!-- -->
<div id="method-summary-table"> </a>
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> <h3>Method Summary</h3>
<div id="method-summary-table.tabpanel" role="tabpanel"> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<div class="table-header col-first">Modifier and Type</div> <tr>
<div class="table-header col-second">Method</div> <th class="colFirst" scope="col">Modifier and Type</th>
<div class="table-header col-last">Description</div> <th class="colLast" scope="col">Method and Description</th>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="JSONParserConfiguration.html" title="class in org.json">JSONParserConfiguration</a></code></div> </tr>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clone()" class="member-name-link">clone</a>()</code></div> <tr id="i0" class="altColor">
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> <td class="colFirst"><code>protected <a href="../../org/json/JSONParserConfiguration.html" title="class in org.json">JSONParserConfiguration</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONParserConfiguration.html#clone--">clone</a></span>()</code>
<div class="block">Provides a new instance of the same configuration.</div> <div class="block">Provides a new instance of the same configuration.</div>
</div> </td>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="JSONParserConfiguration.html" title="class in org.json">JSONParserConfiguration</a></code></div> </tr>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#withMaxNestingDepth(int)" class="member-name-link">withMaxNestingDepth</a><wbr>(int&nbsp;maxNestingDepth)</code></div> <tr id="i1" class="rowColor">
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> <td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONParserConfiguration.html#isOverwriteDuplicateKey--">isOverwriteDuplicateKey</a></span>()</code>
<div class="block">The parser's behavior when meeting duplicate keys, controls whether the parser should
overwrite duplicate keys or not.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONParserConfiguration.html#isStrictMode--">isStrictMode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../org/json/JSONParserConfiguration.html" title="class in org.json">JSONParserConfiguration</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONParserConfiguration.html#withMaxNestingDepth-int-">withMaxNestingDepth</a></span>(int&nbsp;maxNestingDepth)</code>
<div class="block">Defines the maximum nesting depth that the parser will descend before throwing an exception <div class="block">Defines the maximum nesting depth that the parser will descend before throwing an exception
when parsing the XML into JSONML.</div> when parsing a map into JSONObject or parsing a <a href="https://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> instance into
</div> JSONArray.</div>
</div> </td>
</div> </tr>
</div> <tr id="i4" class="altColor">
<div class="inherited-list"> <td class="colFirst"><code><a href="../../org/json/JSONParserConfiguration.html" title="class in org.json">JSONParserConfiguration</a></code></td>
<h3 id="methods-inherited-from-class-org.json.ParserConfiguration">Methods inherited from class&nbsp;org.json.<a href="ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></h3> <td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONParserConfiguration.html#withOverwriteDuplicateKey-boolean-">withOverwriteDuplicateKey</a></span>(boolean&nbsp;overwriteDuplicateKey)</code>
<code><a href="ParserConfiguration.html#getMaxNestingDepth()">getMaxNestingDepth</a>, <a href="ParserConfiguration.html#isKeepStrings()">isKeepStrings</a>, <a href="ParserConfiguration.html#withKeepStrings(boolean)">withKeepStrings</a></code></div> <div class="block">Controls the parser's behavior when meeting duplicate keys.</div>
<div class="inherited-list"> </td>
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> </tr>
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> <tr id="i5" class="rowColor">
</section> <td class="colFirst"><code><a href="../../org/json/JSONParserConfiguration.html" title="class in org.json">JSONParserConfiguration</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONParserConfiguration.html#withStrictMode--">withStrictMode</a></span>()</code>
<div class="block">Sets the strict mode configuration for the JSON parser with default true value</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../org/json/JSONParserConfiguration.html" title="class in org.json">JSONParserConfiguration</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONParserConfiguration.html#withStrictMode-boolean-">withStrictMode</a></span>(boolean&nbsp;mode)</code>
<div class="block">Sets the strict mode configuration for the JSON parser.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.json.ParserConfiguration">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.json.<a href="../../org/json/ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></h3>
<code><a href="../../org/json/ParserConfiguration.html#getMaxNestingDepth--">getMaxNestingDepth</a>, <a href="../../org/json/ParserConfiguration.html#isKeepStrings--">isKeepStrings</a>, <a href="../../org/json/ParserConfiguration.html#withKeepStrings-boolean-">withKeepStrings</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li> </li>
</ul> </ul>
</section> </li>
<section class="details"> </ul>
<ul class="details-list"> </div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== --> <!-- ========= CONSTRUCTOR DETAIL ======== -->
<li> <ul class="blockList">
<section class="constructor-details" id="constructor-detail"> <li class="blockList"><a name="constructor.detail">
<h2>Constructor Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Constructor Detail</h3>
<section class="detail" id="&lt;init&gt;()"> <a name="JSONParserConfiguration--">
<h3>JSONParserConfiguration</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">JSONParserConfiguration</span>()</div> </a>
<ul class="blockListLast">
<li class="blockList">
<h4>JSONParserConfiguration</h4>
<pre>public&nbsp;JSONParserConfiguration()</pre>
<div class="block">Configuration with the default values.</div> <div class="block">Configuration with the default values.</div>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul>
<!-- ============ METHOD DETAIL ========== --> <!-- ============ METHOD DETAIL ========== -->
<li> <ul class="blockList">
<section class="method-details" id="method-detail"> <li class="blockList"><a name="method.detail">
<h2>Method Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Method Detail</h3>
<section class="detail" id="clone()"> <a name="clone--">
<h3>clone</h3> <!-- -->
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type"><a href="JSONParserConfiguration.html" title="class in org.json">JSONParserConfiguration</a></span>&nbsp;<span class="element-name">clone</span>()</div> </a>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="ParserConfiguration.html#clone()">ParserConfiguration</a></code></span></div> <ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>protected&nbsp;<a href="../../org/json/JSONParserConfiguration.html" title="class in org.json">JSONParserConfiguration</a>&nbsp;clone()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../org/json/ParserConfiguration.html#clone--">ParserConfiguration</a></code></span></div>
<div class="block">Provides a new instance of the same configuration.</div> <div class="block">Provides a new instance of the same configuration.</div>
<dl class="notes"> <dl>
<dt>Overrides:</dt> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="ParserConfiguration.html#clone()">clone</a></code>&nbsp;in class&nbsp;<code><a href="ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></code></dd> <dd><code><a href="../../org/json/ParserConfiguration.html#clone--">clone</a></code>&nbsp;in class&nbsp;<code><a href="../../org/json/ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></code></dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="withMaxNestingDepth(int)"> <a name="withMaxNestingDepth-int-">
<h3>withMaxNestingDepth</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="JSONParserConfiguration.html" title="class in org.json">JSONParserConfiguration</a></span>&nbsp;<span class="element-name">withMaxNestingDepth</span><wbr><span class="parameters">(int&nbsp;maxNestingDepth)</span></div> </a>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="ParserConfiguration.html#withMaxNestingDepth(int)">ParserConfiguration</a></code></span></div> <ul class="blockList">
<li class="blockList">
<h4>withMaxNestingDepth</h4>
<pre>public&nbsp;<a href="../../org/json/JSONParserConfiguration.html" title="class in org.json">JSONParserConfiguration</a>&nbsp;withMaxNestingDepth(int&nbsp;maxNestingDepth)</pre>
<div class="block">Defines the maximum nesting depth that the parser will descend before throwing an exception <div class="block">Defines the maximum nesting depth that the parser will descend before throwing an exception
when parsing the XML into JSONML. The default max nesting depth is 512, which means the parser when parsing a map into JSONObject or parsing a <a href="https://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> instance into
will throw a JsonException if the maximum depth is reached. JSONArray. The default max nesting depth is 512, which means the parser will throw a JsonException
Using any negative value as a parameter is equivalent to setting no limit to the nesting depth, if the maximum depth is reached.</div>
which means the parses will go as deep as the maximum call stack size allows.</div> <dl>
<dl class="notes"> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dt>Overrides:</dt> <dd><code><a href="../../org/json/ParserConfiguration.html#withMaxNestingDepth-int-">withMaxNestingDepth</a></code>&nbsp;in class&nbsp;<code><a href="../../org/json/ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></code></dd>
<dd><code><a href="ParserConfiguration.html#withMaxNestingDepth(int)">withMaxNestingDepth</a></code>&nbsp;in class&nbsp;<code><a href="ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></code></dd> <dt><span class="paramLabel">Parameters:</span></dt>
<dt>Parameters:</dt> <dd><code>maxNestingDepth</code> - the maximum nesting depth allowed to the JSON parser</dd>
<dd><code>maxNestingDepth</code> - the maximum nesting depth allowed to the XML parser</dd> <dt><span class="returnLabel">Returns:</span></dt>
<dt>Returns:</dt>
<dd>The existing configuration will not be modified. A new configuration is returned.</dd> <dd>The existing configuration will not be modified. A new configuration is returned.</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section> <a name="withOverwriteDuplicateKey-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withOverwriteDuplicateKey</h4>
<pre>public&nbsp;<a href="../../org/json/JSONParserConfiguration.html" title="class in org.json">JSONParserConfiguration</a>&nbsp;withOverwriteDuplicateKey(boolean&nbsp;overwriteDuplicateKey)</pre>
<div class="block">Controls the parser's behavior when meeting duplicate keys.
If set to false, the parser will throw a JSONException when meeting a duplicate key.
Or the duplicate key's value will be overwritten.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>overwriteDuplicateKey</code> - defines should the parser overwrite duplicate keys.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The existing configuration will not be modified. A new configuration is returned.</dd>
</dl>
</li> </li>
</ul> </ul>
</section> <a name="withStrictMode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withStrictMode</h4>
<pre>public&nbsp;<a href="../../org/json/JSONParserConfiguration.html" title="class in org.json">JSONParserConfiguration</a>&nbsp;withStrictMode()</pre>
<div class="block">Sets the strict mode configuration for the JSON parser with default true value
<p>
When strict mode is enabled, the parser will throw a JSONException if it encounters an invalid character
immediately following the final ']' character in the input. This is useful for ensuring strict adherence to the
JSON syntax, as any characters after the final closing bracket of a JSON array are considered invalid.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new JSONParserConfiguration instance with the updated strict mode setting</dd>
</dl>
</li>
</ul>
<a name="withStrictMode-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withStrictMode</h4>
<pre>public&nbsp;<a href="../../org/json/JSONParserConfiguration.html" title="class in org.json">JSONParserConfiguration</a>&nbsp;withStrictMode(boolean&nbsp;mode)</pre>
<div class="block">Sets the strict mode configuration for the JSON parser.
<p>
When strict mode is enabled, the parser will throw a JSONException if it encounters an invalid character
immediately following the final ']' character in the input. This is useful for ensuring strict adherence to the
JSON syntax, as any characters after the final closing bracket of a JSON array are considered invalid.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>mode</code> - a boolean value indicating whether strict mode should be enabled or not</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new JSONParserConfiguration instance with the updated strict mode setting</dd>
</dl>
</li>
</ul>
<a name="isOverwriteDuplicateKey--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isOverwriteDuplicateKey</h4>
<pre>public&nbsp;boolean&nbsp;isOverwriteDuplicateKey()</pre>
<div class="block">The parser's behavior when meeting duplicate keys, controls whether the parser should
overwrite duplicate keys or not.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The <code>overwriteDuplicateKey</code> configuration value.</dd>
</dl>
</li>
</ul>
<a name="isStrictMode--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>isStrictMode</h4>
<pre>public&nbsp;boolean&nbsp;isStrictMode()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the current strict mode setting.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= --> <!-- ========= END OF CLASS DATA ========= -->
</main> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONObject.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/JSONPointer.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/JSONParserConfiguration.html" target="_top">Frames</a></li>
<li><a href="JSONParserConfiguration.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.org.json.ParserConfiguration">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

View File

@ -1,220 +1,337 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>JSONPointer.Builder</title> <title>JSONPointer.Builder</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="declaration: package: org.json, class: JSONPointer, class: Builder">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="class-declaration-page"> <body>
<script type="text/javascript">var evenRowColor = "even-row-color"; <script type="text/javascript"><!--
var oddRowColor = "odd-row-color"; try {
var tableTab = "table-tab"; if (location.href.indexOf('is-external=true') == -1) {
var activeTableTab = "active-table-tab"; parent.document.title="JSONPointer.Builder";
var pathtoroot = "../../"; }
loadScripts(document, 'script');</script> }
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<li><a href="package-summary.html">Package</a></li> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<li class="nav-bar-cell1-rev">Class</li> <a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li> <li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li> <li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html#class">Help</a></li> <li><a href="../../help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONPointer.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/JSONPointerException.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/JSONPointer.Builder.html" target="_top">Frames</a></li>
<li><a href="JSONPointer.Builder.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div> <div>
<ul class="sub-nav-list"> <script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li> <li><a href="#method.summary">Method</a></li>
</ul> </ul>
<ul class="sub-nav-list"> <ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li> <li><a href="#method.detail">Method</a></li>
</ul> </ul>
</div> </div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <a name="skip.navbar.top">
<input type="text" id="search-input" value="search" disabled="disabled"> <!-- -->
<input type="reset" id="reset-button" value="reset" disabled="disabled"> </a></div>
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== --> <!-- ======== START OF CLASS DATA ======== -->
<div class="header"> <div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.json</a></div> <div class="subTitle">org.json</div>
<h1 title="Class JSONPointer.Builder" class="title">Class JSONPointer.Builder</h1> <h2 title="Class JSONPointer.Builder" class="title">Class JSONPointer.Builder</h2>
</div> </div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> <div class="contentContainer">
<div class="inheritance">org.json.JSONPointer.Builder</div> <ul class="inheritance">
</div> <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<section class="class-description" id="class-description"> <li>
<dl class="notes"> <ul class="inheritance">
<li>org.json.JSONPointer.Builder</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Enclosing class:</dt> <dt>Enclosing class:</dt>
<dd><a href="JSONPointer.html" title="class in org.json">JSONPointer</a></dd> <dd><a href="../../org/json/JSONPointer.html" title="class in org.json">JSONPointer</a></dd>
</dl> </dl>
<hr> <hr>
<div class="type-signature"><span class="modifiers">public static class </span><span class="element-name type-name-label">JSONPointer.Builder</span> <br>
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span></div> <pre>public static class <span class="typeNameLabel">JSONPointer.Builder</span>
extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">This class allows the user to build a JSONPointer in steps, using <div class="block">This class allows the user to build a JSONPointer in steps, using
exactly one segment in each step.</div> exactly one segment in each step.</div>
</section> </li>
<section class="summary"> </ul>
<ul class="summary-list"> </div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== --> <!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li> <ul class="blockList">
<section class="constructor-summary" id="constructor-summary"> <li class="blockList"><a name="constructor.summary">
<h2>Constructor Summary</h2> <!-- -->
<div class="caption"><span>Constructors</span></div> </a>
<div class="summary-table two-column-summary"> <h3>Constructor Summary</h3>
<div class="table-header col-first">Constructor</div> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<div class="table-header col-last">Description</div> <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">Builder</a>()</code></div> <tr>
<div class="col-last even-row-color"> <th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../org/json/JSONPointer.Builder.html#Builder--">Builder</a></span>()</code>
<div class="block">Constructs a new Builder object.</div> <div class="block">Constructs a new Builder object.</div>
</div> </td>
</div> </tr>
</section> </table>
</li> </li>
</ul>
<!-- ========== METHOD SUMMARY =========== --> <!-- ========== METHOD SUMMARY =========== -->
<li> <ul class="blockList">
<section class="method-summary" id="method-summary"> <li class="blockList"><a name="method.summary">
<h2>Method Summary</h2> <!-- -->
<div id="method-summary-table"> </a>
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> <h3>Method Summary</h3>
<div id="method-summary-table.tabpanel" role="tabpanel"> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<div class="table-header col-first">Modifier and Type</div> <tr>
<div class="table-header col-second">Method</div> <th class="colFirst" scope="col">Modifier and Type</th>
<div class="table-header col-last">Description</div> <th class="colLast" scope="col">Method and Description</th>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="JSONPointer.Builder.html" title="class in org.json">JSONPointer.Builder</a></code></div> </tr>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#append(int)" class="member-name-link">append</a><wbr>(int&nbsp;arrayIndex)</code></div> <tr id="i0" class="altColor">
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> <td class="colFirst"><code><a href="../../org/json/JSONPointer.Builder.html" title="class in org.json">JSONPointer.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONPointer.Builder.html#append-int-">append</a></span>(int&nbsp;arrayIndex)</code>
<div class="block">Adds an integer to the reference token list.</div> <div class="block">Adds an integer to the reference token list.</div>
</div> </td>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="JSONPointer.Builder.html" title="class in org.json">JSONPointer.Builder</a></code></div> </tr>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#append(java.lang.String)" class="member-name-link">append</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;token)</code></div> <tr id="i1" class="rowColor">
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> <td class="colFirst"><code><a href="../../org/json/JSONPointer.Builder.html" title="class in org.json">JSONPointer.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONPointer.Builder.html#append-java.lang.String-">append</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;token)</code>
<div class="block">Adds an arbitrary token to the list of reference tokens.</div> <div class="block">Adds an arbitrary token to the list of reference tokens.</div>
</div> </td>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="JSONPointer.html" title="class in org.json">JSONPointer</a></code></div> </tr>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#build()" class="member-name-link">build</a>()</code></div> <tr id="i2" class="altColor">
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> <td class="colFirst"><code><a href="../../org/json/JSONPointer.html" title="class in org.json">JSONPointer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONPointer.Builder.html#build--">build</a></span>()</code>
<div class="block">Creates a <code>JSONPointer</code> instance using the tokens previously set using the <div class="block">Creates a <code>JSONPointer</code> instance using the tokens previously set using the
<a href="#append(java.lang.String)"><code>append(String)</code></a> method calls.</div> <a href="../../org/json/JSONPointer.Builder.html#append-java.lang.String-"><code>append(String)</code></a> method calls.</div>
</div> </td>
</div> </tr>
</div> </table>
</div> <ul class="blockList">
<div class="inherited-list"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> <!-- -->
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> </a>
</section> <h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li> </li>
</ul> </ul>
</section> </li>
<section class="details"> </ul>
<ul class="details-list"> </div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== --> <!-- ========= CONSTRUCTOR DETAIL ======== -->
<li> <ul class="blockList">
<section class="constructor-details" id="constructor-detail"> <li class="blockList"><a name="constructor.detail">
<h2>Constructor Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Constructor Detail</h3>
<section class="detail" id="&lt;init&gt;()"> <a name="Builder--">
<h3>Builder</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">Builder</span>()</div> </a>
<ul class="blockListLast">
<li class="blockList">
<h4>Builder</h4>
<pre>public&nbsp;Builder()</pre>
<div class="block">Constructs a new Builder object.</div> <div class="block">Constructs a new Builder object.</div>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul>
<!-- ============ METHOD DETAIL ========== --> <!-- ============ METHOD DETAIL ========== -->
<li> <ul class="blockList">
<section class="method-details" id="method-detail"> <li class="blockList"><a name="method.detail">
<h2>Method Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Method Detail</h3>
<section class="detail" id="build()"> <a name="build--">
<h3>build</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="JSONPointer.html" title="class in org.json">JSONPointer</a></span>&nbsp;<span class="element-name">build</span>()</div> </a>
<ul class="blockList">
<li class="blockList">
<h4>build</h4>
<pre>public&nbsp;<a href="../../org/json/JSONPointer.html" title="class in org.json">JSONPointer</a>&nbsp;build()</pre>
<div class="block">Creates a <code>JSONPointer</code> instance using the tokens previously set using the <div class="block">Creates a <code>JSONPointer</code> instance using the tokens previously set using the
<a href="#append(java.lang.String)"><code>append(String)</code></a> method calls.</div> <a href="../../org/json/JSONPointer.Builder.html#append-java.lang.String-"><code>append(String)</code></a> method calls.</div>
<dl class="notes"> <dl>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>a JSONPointer object</dd> <dd>a JSONPointer object</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="append(java.lang.String)"> <a name="append-java.lang.String-">
<h3>append</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="JSONPointer.Builder.html" title="class in org.json">JSONPointer.Builder</a></span>&nbsp;<span class="element-name">append</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;token)</span></div> </a>
<ul class="blockList">
<li class="blockList">
<h4>append</h4>
<pre>public&nbsp;<a href="../../org/json/JSONPointer.Builder.html" title="class in org.json">JSONPointer.Builder</a>&nbsp;append(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;token)</pre>
<div class="block">Adds an arbitrary token to the list of reference tokens. It can be any non-null value. <div class="block">Adds an arbitrary token to the list of reference tokens. It can be any non-null value.
Unlike in the case of JSON string or URI fragment representation of JSON pointers, the Unlike in the case of JSON string or URI fragment representation of JSON pointers, the
argument of this method MUST NOT be escaped. If you want to query the property called argument of this method MUST NOT be escaped. If you want to query the property called
<code>"a~b"</code> then you should simply pass the <code>"a~b"</code> string as-is, there is no <code>"a~b"</code> then you should simply pass the <code>"a~b"</code> string as-is, there is no
need to escape it as <code>"a~0b"</code>.</div> need to escape it as <code>"a~0b"</code>.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>token</code> - the new token to be appended to the list</dd> <dd><code>token</code> - the new token to be appended to the list</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd><code>this</code></dd> <dd><code>this</code></dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/NullPointerException.html" title="class or interface in java.lang" class="external-link">NullPointerException</a></code> - if <code>token</code> is null</dd> <dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if <code>token</code> is null</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="append(int)"> <a name="append-int-">
<h3>append</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="JSONPointer.Builder.html" title="class in org.json">JSONPointer.Builder</a></span>&nbsp;<span class="element-name">append</span><wbr><span class="parameters">(int&nbsp;arrayIndex)</span></div> </a>
<ul class="blockListLast">
<li class="blockList">
<h4>append</h4>
<pre>public&nbsp;<a href="../../org/json/JSONPointer.Builder.html" title="class in org.json">JSONPointer.Builder</a>&nbsp;append(int&nbsp;arrayIndex)</pre>
<div class="block">Adds an integer to the reference token list. Although not necessarily, mostly this token will <div class="block">Adds an integer to the reference token list. Although not necessarily, mostly this token will
denote an array index.</div> denote an array index.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>arrayIndex</code> - the array index to be added to the token list</dd> <dd><code>arrayIndex</code> - the array index to be added to the token list</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd><code>this</code></dd> <dd><code>this</code></dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul> </ul>
</section> </li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= --> <!-- ========= END OF CLASS DATA ========= -->
</main> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONPointer.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/JSONPointerException.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/JSONPointer.Builder.html" target="_top">Frames</a></li>
<li><a href="JSONPointer.Builder.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

View File

@ -1,83 +1,114 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>JSONPointer</title> <title>JSONPointer</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="declaration: package: org.json, class: JSONPointer">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="class-declaration-page"> <body>
<script type="text/javascript">var evenRowColor = "even-row-color"; <script type="text/javascript"><!--
var oddRowColor = "odd-row-color"; try {
var tableTab = "table-tab"; if (location.href.indexOf('is-external=true') == -1) {
var activeTableTab = "active-table-tab"; parent.document.title="JSONPointer";
var pathtoroot = "../../"; }
loadScripts(document, 'script');</script> }
catch(err) {
}
//-->
var methods = {"i0":9,"i1":10,"i2":10,"i3":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<li><a href="package-summary.html">Package</a></li> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<li class="nav-bar-cell1-rev">Class</li> <a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li> <li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li> <li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html#class">Help</a></li> <li><a href="../../help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<div> <ul class="navList">
<ul class="sub-nav-list"> <li><a href="../../org/json/JSONParserConfiguration.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Summary:&nbsp;</li> <li><a href="../../org/json/JSONPointer.Builder.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
<li><a href="#nested-class-summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li>
</ul> </ul>
<ul class="sub-nav-list"> <ul class="navList">
<li><a href="../../index.html?org/json/JSONPointer.html" target="_top">Frames</a></li>
<li><a href="JSONPointer.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li> <li><a href="#method.detail">Method</a></li>
</ul> </ul>
</div> </div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <a name="skip.navbar.top">
<input type="text" id="search-input" value="search" disabled="disabled"> <!-- -->
<input type="reset" id="reset-button" value="reset" disabled="disabled"> </a></div>
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== --> <!-- ======== START OF CLASS DATA ======== -->
<div class="header"> <div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.json</a></div> <div class="subTitle">org.json</div>
<h1 title="Class JSONPointer" class="title">Class JSONPointer</h1> <h2 title="Class JSONPointer" class="title">Class JSONPointer</h2>
</div> </div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> <div class="contentContainer">
<div class="inheritance">org.json.JSONPointer</div> <ul class="inheritance">
</div> <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<section class="class-description" id="class-description"> <li>
<ul class="inheritance">
<li>org.json.JSONPointer</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr> <hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">JSONPointer</span> <br>
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span></div> <pre>public class <span class="typeNameLabel">JSONPointer</span>
extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">A JSON Pointer is a simple query language defined for JSON documents by <div class="block">A JSON Pointer is a simple query language defined for JSON documents by
<a href="https://tools.ietf.org/html/rfc6901">RFC 6901</a>. <a href="https://tools.ietf.org/html/rfc6901">RFC 6901</a>.
@ -91,136 +122,167 @@ loadScripts(document, 'script');</script>
JSONObject, a JSONArray, or a JSON value. If the JSONPointer string building JSONObject, a JSONArray, or a JSON value. If the JSONPointer string building
fails, an appropriate exception is thrown. If the navigation fails to find fails, an appropriate exception is thrown. If the navigation fails to find
a match, a JSONPointerException is thrown.</div> a match, a JSONPointerException is thrown.</div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<li>
<section class="nested-class-summary" id="nested-class-summary">
<h2>Nested Class Summary</h2>
<div class="caption"><span>Nested Classes</span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Class</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>static class&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="JSONPointer.Builder.html" class="type-name-link" title="class in org.json">JSONPointer.Builder</a></code></div>
<div class="col-last even-row-color">
<div class="block">This class allows the user to build a JSONPointer in steps, using
exactly one segment in each step.</div>
</div>
</div>
</section>
</li>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li>
<section class="constructor-summary" id="constructor-summary">
<h2>Constructor Summary</h2>
<div class="caption"><span>Constructors</span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(java.lang.String)" class="member-name-link">JSONPointer</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;pointer)</code></div>
<div class="col-last even-row-color">
<div class="block">Pre-parses and initializes a new <code>JSONPointer</code> instance.</div>
</div>
<div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(java.util.List)" class="member-name-link">JSONPointer</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&gt;&nbsp;refTokens)</code></div>
<div class="col-last odd-row-color">
<div class="block">Constructs a new JSONPointer instance with the provided list of reference tokens.</div>
</div>
</div>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="JSONPointer.Builder.html" title="class in org.json">JSONPointer.Builder</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#builder()" class="member-name-link">builder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Static factory method for <a href="JSONPointer.Builder.html" title="class in org.json"><code>JSONPointer.Builder</code></a>.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#queryFrom(java.lang.Object)" class="member-name-link">queryFrom</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>&nbsp;document)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Evaluates this JSON Pointer on the given <code>document</code>.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#toString()" class="member-name-link">toString</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Returns a string representing the JSONPointer path value using string
representation</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#toURIFragment()" class="member-name-link">toURIFragment</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Returns a string representing the JSONPointer path value using URI
fragment identifier representation</div>
</div>
</div>
</div>
</div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
</section>
</li> </li>
</ul> </ul>
</section> </div>
<section class="details"> <div class="summary">
<ul class="details-list"> <ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONPointer.Builder.html" title="class in org.json">JSONPointer.Builder</a></span></code>
<div class="block">This class allows the user to build a JSONPointer in steps, using
exactly one segment in each step.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../org/json/JSONPointer.html#JSONPointer-java.util.List-">JSONPointer</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;refTokens)</code>
<div class="block">Constructs a new JSONPointer instance with the provided list of reference tokens.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../org/json/JSONPointer.html#JSONPointer-java.lang.String-">JSONPointer</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;pointer)</code>
<div class="block">Pre-parses and initializes a new <code>JSONPointer</code> instance.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static <a href="../../org/json/JSONPointer.Builder.html" title="class in org.json">JSONPointer.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONPointer.html#builder--">builder</a></span>()</code>
<div class="block">Static factory method for <a href="../../org/json/JSONPointer.Builder.html" title="class in org.json"><code>JSONPointer.Builder</code></a>.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONPointer.html#queryFrom-java.lang.Object-">queryFrom</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;document)</code>
<div class="block">Evaluates this JSON Pointer on the given <code>document</code>.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONPointer.html#toString--">toString</a></span>()</code>
<div class="block">Returns a string representing the JSONPointer path value using string
representation</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONPointer.html#toURIFragment--">toURIFragment</a></span>()</code>
<div class="block">Returns a string representing the JSONPointer path value using URI
fragment identifier representation</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== --> <!-- ========= CONSTRUCTOR DETAIL ======== -->
<li> <ul class="blockList">
<section class="constructor-details" id="constructor-detail"> <li class="blockList"><a name="constructor.detail">
<h2>Constructor Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Constructor Detail</h3>
<section class="detail" id="&lt;init&gt;(java.lang.String)"> <a name="JSONPointer-java.lang.String-">
<h3>JSONPointer</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">JSONPointer</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;pointer)</span></div> </a>
<ul class="blockList">
<li class="blockList">
<h4>JSONPointer</h4>
<pre>public&nbsp;JSONPointer(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;pointer)</pre>
<div class="block">Pre-parses and initializes a new <code>JSONPointer</code> instance. If you want to <div class="block">Pre-parses and initializes a new <code>JSONPointer</code> instance. If you want to
evaluate the same JSON Pointer on different JSON documents then it is recommended evaluate the same JSON Pointer on different JSON documents then it is recommended
to keep the <code>JSONPointer</code> instances due to performance considerations.</div> to keep the <code>JSONPointer</code> instances due to performance considerations.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pointer</code> - the JSON String or URI Fragment representation of the JSON pointer.</dd> <dd><code>pointer</code> - the JSON String or URI Fragment representation of the JSON pointer.</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang" class="external-link">IllegalArgumentException</a></code> - if <code>pointer</code> is not a valid JSON pointer</dd> <dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if <code>pointer</code> is not a valid JSON pointer</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="&lt;init&gt;(java.util.List)"> <a name="JSONPointer-java.util.List-">
<h3>JSONPointer</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">JSONPointer</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&gt;&nbsp;refTokens)</span></div> </a>
<ul class="blockListLast">
<li class="blockList">
<h4>JSONPointer</h4>
<pre>public&nbsp;JSONPointer(<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;refTokens)</pre>
<div class="block">Constructs a new JSONPointer instance with the provided list of reference tokens.</div> <div class="block">Constructs a new JSONPointer instance with the provided list of reference tokens.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>refTokens</code> - A list of strings representing the reference tokens for the JSON Pointer. <dd><code>refTokens</code> - A list of strings representing the reference tokens for the JSON Pointer.
Each token identifies a step in the path to the targeted value.</dd> Each token identifies a step in the path to the targeted value.</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul>
<!-- ============ METHOD DETAIL ========== --> <!-- ============ METHOD DETAIL ========== -->
<li> <ul class="blockList">
<section class="method-details" id="method-detail"> <li class="blockList"><a name="method.detail">
<h2>Method Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Method Detail</h3>
<section class="detail" id="builder()"> <a name="builder--">
<h3>builder</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type"><a href="JSONPointer.Builder.html" title="class in org.json">JSONPointer.Builder</a></span>&nbsp;<span class="element-name">builder</span>()</div> </a>
<div class="block">Static factory method for <a href="JSONPointer.Builder.html" title="class in org.json"><code>JSONPointer.Builder</code></a>. Example usage: <ul class="blockList">
<li class="blockList">
<h4>builder</h4>
<pre>public static&nbsp;<a href="../../org/json/JSONPointer.Builder.html" title="class in org.json">JSONPointer.Builder</a>&nbsp;builder()</pre>
<div class="block">Static factory method for <a href="../../org/json/JSONPointer.Builder.html" title="class in org.json"><code>JSONPointer.Builder</code></a>. Example usage:
<pre><code> <pre><code>
JSONPointer pointer = JSONPointer.builder() JSONPointer pointer = JSONPointer.builder()
@ -230,64 +292,131 @@ loadScripts(document, 'script');</script>
.append(0) .append(0)
.build(); .build();
</code></pre></div> </code></pre></div>
<dl class="notes"> <dl>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>a builder instance which can be used to construct a <code>JSONPointer</code> instance by chained <dd>a builder instance which can be used to construct a <code>JSONPointer</code> instance by chained
<a href="JSONPointer.Builder.html#append(java.lang.String)"><code>JSONPointer.Builder.append(String)</code></a> calls.</dd> <a href="../../org/json/JSONPointer.Builder.html#append-java.lang.String-"><code>JSONPointer.Builder.append(String)</code></a> calls.</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="queryFrom(java.lang.Object)"> <a name="queryFrom-java.lang.Object-">
<h3>queryFrom</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span>&nbsp;<span class="element-name">queryFrom</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>&nbsp;document)</span> </a>
throws <span class="exceptions"><a href="JSONPointerException.html" title="class in org.json">JSONPointerException</a></span></div> <ul class="blockList">
<li class="blockList">
<h4>queryFrom</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;queryFrom(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;document)
throws <a href="../../org/json/JSONPointerException.html" title="class in org.json">JSONPointerException</a></pre>
<div class="block">Evaluates this JSON Pointer on the given <code>document</code>. The <code>document</code> <div class="block">Evaluates this JSON Pointer on the given <code>document</code>. The <code>document</code>
is usually a <a href="JSONObject.html" title="class in org.json"><code>JSONObject</code></a> or a <a href="JSONArray.html" title="class in org.json"><code>JSONArray</code></a> instance, but the empty is usually a <a href="../../org/json/JSONObject.html" title="class in org.json"><code>JSONObject</code></a> or a <a href="../../org/json/JSONArray.html" title="class in org.json"><code>JSONArray</code></a> instance, but the empty
JSON Pointer (<code>""</code>) can be evaluated on any JSON values and in such case the JSON Pointer (<code>""</code>) can be evaluated on any JSON values and in such case the
returned value will be <code>document</code> itself.</div> returned value will be <code>document</code> itself.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>document</code> - the JSON document which should be the subject of querying.</dd> <dd><code>document</code> - the JSON document which should be the subject of querying.</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>the result of the evaluation</dd> <dd>the result of the evaluation</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONPointerException.html" title="class in org.json">JSONPointerException</a></code> - if an error occurs during evaluation</dd> <dd><code><a href="../../org/json/JSONPointerException.html" title="class in org.json">JSONPointerException</a></code> - if an error occurs during evaluation</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="toString()"> <a name="toString--">
<h3>toString</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">toString</span>()</div> </a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<div class="block">Returns a string representing the JSONPointer path value using string <div class="block">Returns a string representing the JSONPointer path value using string
representation</div> representation</div>
<dl class="notes"> <dl>
<dt>Overrides:</dt> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></code></dd> <dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="toURIFragment()"> <a name="toURIFragment--">
<h3>toURIFragment</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">toURIFragment</span>()</div> </a>
<ul class="blockListLast">
<li class="blockList">
<h4>toURIFragment</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toURIFragment()</pre>
<div class="block">Returns a string representing the JSONPointer path value using URI <div class="block">Returns a string representing the JSONPointer path value using URI
fragment identifier representation</div> fragment identifier representation</div>
<dl class="notes"> <dl>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>a uri fragment string</dd> <dd>a uri fragment string</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul> </ul>
</section> </li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= --> <!-- ========= END OF CLASS DATA ========= -->
</main> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONParserConfiguration.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/JSONPointer.Builder.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/JSONPointer.html" target="_top">Frames</a></li>
<li><a href="JSONPointer.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

View File

@ -1,177 +1,299 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>JSONPointerException</title> <title>JSONPointerException</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="declaration: package: org.json, class: JSONPointerException">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="class-declaration-page"> <body>
<script type="text/javascript">var pathtoroot = "../../"; <script type="text/javascript"><!--
loadScripts(document, 'script');</script> try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="JSONPointerException";
}
}
catch(err) {
}
//-->
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<li><a href="package-summary.html">Package</a></li> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<li class="nav-bar-cell1-rev">Class</li> <a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li> <li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li> <li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html#class">Help</a></li> <li><a href="../../help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONPointer.Builder.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/JSONPropertyIgnore.html" title="annotation in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/JSONPointerException.html" target="_top">Frames</a></li>
<li><a href="JSONPointerException.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div> <div>
<ul class="sub-nav-list"> <script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li> <li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
</ul> </ul>
<ul class="sub-nav-list"> <ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li>Method</li> <li>Method</li>
</ul> </ul>
</div> </div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <a name="skip.navbar.top">
<input type="text" id="search-input" value="search" disabled="disabled"> <!-- -->
<input type="reset" id="reset-button" value="reset" disabled="disabled"> </a></div>
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== --> <!-- ======== START OF CLASS DATA ======== -->
<div class="header"> <div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.json</a></div> <div class="subTitle">org.json</div>
<h1 title="Class JSONPointerException" class="title">Class JSONPointerException</h1> <h2 title="Class JSONPointerException" class="title">Class JSONPointerException</h2>
</div> </div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> <div class="contentContainer">
<div class="inheritance"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">java.lang.Throwable</a> <ul class="inheritance">
<div class="inheritance"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Exception.html" title="class or interface in java.lang" class="external-link">java.lang.Exception</a> <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<div class="inheritance"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/RuntimeException.html" title="class or interface in java.lang" class="external-link">java.lang.RuntimeException</a> <li>
<div class="inheritance"><a href="JSONException.html" title="class in org.json">org.json.JSONException</a> <ul class="inheritance">
<div class="inheritance">org.json.JSONPointerException</div> <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">java.lang.Throwable</a></li>
</div> <li>
</div> <ul class="inheritance">
</div> <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">java.lang.Exception</a></li>
</div> <li>
</div> <ul class="inheritance">
<section class="class-description" id="class-description"> <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">java.lang.RuntimeException</a></li>
<dl class="notes"> <li>
<ul class="inheritance">
<li><a href="../../org/json/JSONException.html" title="class in org.json">org.json.JSONException</a></li>
<li>
<ul class="inheritance">
<li>org.json.JSONPointerException</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt> <dt>All Implemented Interfaces:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/Serializable.html" title="class or interface in java.io" class="external-link">Serializable</a></code></dd> <dd><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd>
</dl> </dl>
<hr> <hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">JSONPointerException</span> <br>
<span class="extends-implements">extends <a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <pre>public class <span class="typeNameLabel">JSONPointerException</span>
<div class="block">The JSONPointerException is thrown by <a href="JSONPointer.html" title="class in org.json"><code>JSONPointer</code></a> if an error occurs extends <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block">The JSONPointerException is thrown by <a href="../../org/json/JSONPointer.html" title="class in org.json"><code>JSONPointer</code></a> if an error occurs
during evaluating a pointer.</div> during evaluating a pointer.</div>
<dl class="notes"> <dl>
<dt>See Also:</dt> <dt><span class="seeLabel">See Also:</span></dt>
<dd> <dd><a href="../../serialized-form.html#org.json.JSONPointerException">Serialized Form</a></dd>
<ul class="see-list">
<li><a href="../../serialized-form.html#org.json.JSONPointerException">Serialized Form</a></li>
</ul>
</dd>
</dl> </dl>
</section>
<section class="summary">
<ul class="summary-list">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li>
<section class="constructor-summary" id="constructor-summary">
<h2>Constructor Summary</h2>
<div class="caption"><span>Constructors</span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(java.lang.String)" class="member-name-link">JSONPointerException</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;message)</code></div>
<div class="col-last even-row-color">
<div class="block">Constructs a new JSONPointerException with the specified error message.</div>
</div>
<div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(java.lang.String,java.lang.Throwable)" class="member-name-link">JSONPointerException</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;message,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a>&nbsp;cause)</code></div>
<div class="col-last odd-row-color">
<div class="block">Constructs a new JSONPointerException with the specified error message and cause.</div>
</div>
</div>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-java.lang.Throwable">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#addSuppressed(java.lang.Throwable)" title="class or interface in java.lang" class="external-link">addSuppressed</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#fillInStackTrace()" title="class or interface in java.lang" class="external-link">fillInStackTrace</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#getCause()" title="class or interface in java.lang" class="external-link">getCause</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#getLocalizedMessage()" title="class or interface in java.lang" class="external-link">getLocalizedMessage</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#getMessage()" title="class or interface in java.lang" class="external-link">getMessage</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#getStackTrace()" title="class or interface in java.lang" class="external-link">getStackTrace</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#getSuppressed()" title="class or interface in java.lang" class="external-link">getSuppressed</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#initCause(java.lang.Throwable)" title="class or interface in java.lang" class="external-link">initCause</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#printStackTrace()" title="class or interface in java.lang" class="external-link">printStackTrace</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#printStackTrace(java.io.PrintStream)" title="class or interface in java.lang" class="external-link">printStackTrace</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#printStackTrace(java.io.PrintWriter)" title="class or interface in java.lang" class="external-link">printStackTrace</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#setStackTrace(java.lang.StackTraceElement%5B%5D)" title="class or interface in java.lang" class="external-link">setStackTrace</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#toString()" title="class or interface in java.lang" class="external-link">toString</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
</section>
</li> </li>
</ul> </ul>
</section> </div>
<section class="details"> <div class="summary">
<ul class="details-list"> <ul class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== --> <li class="blockList">
<li> <!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section class="constructor-details" id="constructor-detail"> <ul class="blockList">
<h2>Constructor Details</h2> <li class="blockList"><a name="constructor.summary">
<ul class="member-list"> <!-- -->
<li> </a>
<section class="detail" id="&lt;init&gt;(java.lang.String)"> <h3>Constructor Summary</h3>
<h3>JSONPointerException</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">JSONPointerException</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;message)</span></div> <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../org/json/JSONPointerException.html#JSONPointerException-java.lang.String-">JSONPointerException</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;message)</code>
<div class="block">Constructs a new JSONPointerException with the specified error message.</div> <div class="block">Constructs a new JSONPointerException with the specified error message.</div>
<dl class="notes"> </td>
<dt>Parameters:</dt> </tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../org/json/JSONPointerException.html#JSONPointerException-java.lang.String-java.lang.Throwable-">JSONPointerException</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;message,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;cause)</code>
<div class="block">Constructs a new JSONPointerException with the specified error message and cause.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#addSuppressed-java.lang.Throwable-" title="class or interface in java.lang">addSuppressed</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace--" title="class or interface in java.lang">fillInStackTrace</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getCause--" title="class or interface in java.lang">getCause</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage--" title="class or interface in java.lang">getLocalizedMessage</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getMessage--" title="class or interface in java.lang">getMessage</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getStackTrace--" title="class or interface in java.lang">getStackTrace</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getSuppressed--" title="class or interface in java.lang">getSuppressed</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#initCause-java.lang.Throwable-" title="class or interface in java.lang">initCause</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace--" title="class or interface in java.lang">printStackTrace</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace-java.io.PrintStream-" title="class or interface in java.lang">printStackTrace</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace-java.io.PrintWriter-" title="class or interface in java.lang">printStackTrace</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#setStackTrace-java.lang.StackTraceElement:A-" title="class or interface in java.lang">setStackTrace</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="JSONPointerException-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JSONPointerException</h4>
<pre>public&nbsp;JSONPointerException(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;message)</pre>
<div class="block">Constructs a new JSONPointerException with the specified error message.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>message</code> - The detail message describing the reason for the exception.</dd> <dd><code>message</code> - The detail message describing the reason for the exception.</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="&lt;init&gt;(java.lang.String,java.lang.Throwable)"> <a name="JSONPointerException-java.lang.String-java.lang.Throwable-">
<h3>JSONPointerException</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">JSONPointerException</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;message, </a>
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html" title="class or interface in java.lang" class="external-link">Throwable</a>&nbsp;cause)</span></div> <ul class="blockListLast">
<li class="blockList">
<h4>JSONPointerException</h4>
<pre>public&nbsp;JSONPointerException(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;message,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;cause)</pre>
<div class="block">Constructs a new JSONPointerException with the specified error message and cause.</div> <div class="block">Constructs a new JSONPointerException with the specified error message and cause.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>message</code> - The detail message describing the reason for the exception.</dd> <dd><code>message</code> - The detail message describing the reason for the exception.</dd>
<dd><code>cause</code> - The cause of the exception.</dd> <dd><code>cause</code> - The cause of the exception.</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul> </ul>
</section> </li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= --> <!-- ========= END OF CLASS DATA ========= -->
</main> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONPointer.Builder.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/JSONPropertyIgnore.html" title="annotation in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/JSONPointerException.html" target="_top">Frames</a></li>
<li><a href="JSONPointerException.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li>Method</li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

View File

@ -1,84 +1,166 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>JSONPropertyIgnore</title> <title>JSONPropertyIgnore</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="declaration: package: org.json, annotation type: JSONPropertyIgnore">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="class-declaration-page"> <body>
<script type="text/javascript">var pathtoroot = "../../"; <script type="text/javascript"><!--
loadScripts(document, 'script');</script> try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="JSONPropertyIgnore";
}
}
catch(err) {
}
//-->
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<li><a href="package-summary.html">Package</a></li> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<li class="nav-bar-cell1-rev">Class</li> <a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li> <li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li> <li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html#class">Help</a></li> <li><a href="../../help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONPointerException.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/JSONPropertyName.html" title="annotation in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/JSONPropertyIgnore.html" target="_top">Frames</a></li>
<li><a href="JSONPropertyIgnore.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div> <div>
<ul class="sub-nav-list"> <script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li>Optional&nbsp;|&nbsp;</li> <li>Required&nbsp;|&nbsp;</li>
<li>Required</li> <li>Optional</li>
</ul> </ul>
<ul class="sub-nav-list"> <ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li>Element</li> <li>Element</li>
</ul> </ul>
</div> </div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <a name="skip.navbar.top">
<input type="text" id="search-input" value="search" disabled="disabled"> <!-- -->
<input type="reset" id="reset-button" value="reset" disabled="disabled"> </a></div>
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== --> <!-- ======== START OF CLASS DATA ======== -->
<div class="header"> <div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.json</a></div> <div class="subTitle">org.json</div>
<h1 title="Annotation Interface JSONPropertyIgnore" class="title">Annotation Interface JSONPropertyIgnore</h1> <h2 title="Annotation Type JSONPropertyIgnore" class="title">Annotation Type JSONPropertyIgnore</h2>
</div> </div>
<section class="class-description" id="class-description"> <div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr> <hr>
<div class="type-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/Documented.html" title="class or interface in java.lang.annotation" class="external-link">@Documented</a> <br>
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/Retention.html" title="class or interface in java.lang.annotation" class="external-link">@Retention</a>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/RetentionPolicy.html#RUNTIME" title="class or interface in java.lang.annotation" class="external-link">RUNTIME</a>) <pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Documented.html?is-external=true" title="class or interface in java.lang.annotation">@Documented</a>
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/Target.html" title="class or interface in java.lang.annotation" class="external-link">@Target</a>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/ElementType.html#METHOD" title="class or interface in java.lang.annotation" class="external-link">METHOD</a>) <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</a>)
</span><span class="modifiers">public @interface </span><span class="element-name type-name-label">JSONPropertyIgnore</span></div> <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/annotation/ElementType.html?is-external=true#METHOD" title="class or interface in java.lang.annotation">METHOD</a>)
public @interface <span class="memberNameLabel">JSONPropertyIgnore</span></pre>
<div class="block">Use this annotation on a getter method to override the Bean name <div class="block">Use this annotation on a getter method to override the Bean name
parser for Bean -&gt; JSONObject mapping. If this annotation is parser for Bean -&gt; JSONObject mapping. If this annotation is
present at any level in the class hierarchy, then the method will present at any level in the class hierarchy, then the method will
not be serialized from the bean into the JSONObject.</div> not be serialized from the bean into the JSONObject.</div>
</section> </li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= --> <!-- ========= END OF CLASS DATA ========= -->
</main> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONPointerException.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/JSONPropertyName.html" title="annotation in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/JSONPropertyIgnore.html" target="_top">Frames</a></li>
<li><a href="JSONPropertyIgnore.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Required&nbsp;|&nbsp;</li>
<li>Optional</li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Element</li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

View File

@ -1,127 +1,220 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>JSONPropertyName</title> <title>JSONPropertyName</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="declaration: package: org.json, annotation type: JSONPropertyName">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="class-declaration-page"> <body>
<script type="text/javascript">var pathtoroot = "../../"; <script type="text/javascript"><!--
loadScripts(document, 'script');</script> try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="JSONPropertyName";
}
}
catch(err) {
}
//-->
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<li><a href="package-summary.html">Package</a></li> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<li class="nav-bar-cell1-rev">Class</li> <a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li> <li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li> <li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html#class">Help</a></li> <li><a href="../../help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONPropertyIgnore.html" title="annotation in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/JSONString.html" title="interface in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/JSONPropertyName.html" target="_top">Frames</a></li>
<li><a href="JSONPropertyName.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div> <div>
<ul class="sub-nav-list"> <script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li>Optional&nbsp;|&nbsp;</li> <li><a href="#annotation.type.required.element.summary">Required</a>&nbsp;|&nbsp;</li>
<li><a href="#annotation-interface-required-element-summary">Required</a></li> <li>Optional</li>
</ul> </ul>
<ul class="sub-nav-list"> <ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li><a href="#annotation-interface-element-detail">Element</a></li> <li><a href="#annotation.type.element.detail">Element</a></li>
</ul> </ul>
</div> </div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <a name="skip.navbar.top">
<input type="text" id="search-input" value="search" disabled="disabled"> <!-- -->
<input type="reset" id="reset-button" value="reset" disabled="disabled"> </a></div>
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== --> <!-- ======== START OF CLASS DATA ======== -->
<div class="header"> <div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.json</a></div> <div class="subTitle">org.json</div>
<h1 title="Annotation Interface JSONPropertyName" class="title">Annotation Interface JSONPropertyName</h1> <h2 title="Annotation Type JSONPropertyName" class="title">Annotation Type JSONPropertyName</h2>
</div> </div>
<section class="class-description" id="class-description"> <div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr> <hr>
<div class="type-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/Documented.html" title="class or interface in java.lang.annotation" class="external-link">@Documented</a> <br>
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/Retention.html" title="class or interface in java.lang.annotation" class="external-link">@Retention</a>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/RetentionPolicy.html#RUNTIME" title="class or interface in java.lang.annotation" class="external-link">RUNTIME</a>) <pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Documented.html?is-external=true" title="class or interface in java.lang.annotation">@Documented</a>
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/Target.html" title="class or interface in java.lang.annotation" class="external-link">@Target</a>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/ElementType.html#METHOD" title="class or interface in java.lang.annotation" class="external-link">METHOD</a>) <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</a>)
</span><span class="modifiers">public @interface </span><span class="element-name type-name-label">JSONPropertyName</span></div> <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/annotation/ElementType.html?is-external=true#METHOD" title="class or interface in java.lang.annotation">METHOD</a>)
public @interface <span class="memberNameLabel">JSONPropertyName</span></pre>
<div class="block">Use this annotation on a getter method to override the Bean name <div class="block">Use this annotation on a getter method to override the Bean name
parser for Bean -&gt; JSONObject mapping. A value set to empty string <code>""</code> parser for Bean -&gt; JSONObject mapping. A value set to empty string <code>""</code>
will have the Bean parser fall back to the default field name processing.</div> will have the Bean parser fall back to the default field name processing.</div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- =========== ANNOTATION INTERFACE REQUIRED MEMBER SUMMARY =========== -->
<li>
<section class="member-summary" id="annotation-interface-required-element-summary">
<h2>Required Element Summary</h2>
<div class="caption"><span>Required Elements</span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Required Element</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second even-row-color"><code><a href="#value()" class="member-name-link">value</a></code></div>
<div class="col-last even-row-color">
<div class="block">The value of the JSON property.</div>
</div>
</div>
</section>
</li> </li>
</ul> </ul>
</section> </div>
<section class="details" id="annotation-interface-element-detail"> <div class="summary">
<ul class="details-list"> <ul class="blockList">
<!-- ============ ANNOTATION INTERFACE MEMBER DETAIL =========== --> <li class="blockList">
<li> <!-- =========== ANNOTATION TYPE REQUIRED MEMBER SUMMARY =========== -->
<section class="member-details"> <ul class="blockList">
<h2>Element Details</h2> <li class="blockList"><a name="annotation.type.required.element.summary">
<ul class="member-list"> <!-- -->
<li> </a>
<section class="detail" id="value()"> <h3>Required Element Summary</h3>
<h3>value</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Required Element Summary table, listing required elements, and an explanation">
<div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">value</span></div> <caption><span>Required Elements</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Required Element and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONPropertyName.html#value--">value</a></span></code>
<div class="block">The value of the JSON property.</div> <div class="block">The value of the JSON property.</div>
<dl class="notes"> </td>
<dt>Returns:</dt> </tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="annotation.type.element.detail">
<!-- -->
</a>
<h3>Element Detail</h3>
<a name="value--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>value</h4>
<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value</pre>
<div class="block">The value of the JSON property.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The name of the property as to be used in the JSON Object.</dd> <dd>The name of the property as to be used in the JSON Object.</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul> </ul>
</section> </li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= --> <!-- ========= END OF CLASS DATA ========= -->
</main> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONPropertyIgnore.html" title="annotation in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/JSONString.html" title="interface in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/JSONPropertyName.html" target="_top">Frames</a></li>
<li><a href="JSONPropertyName.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#annotation.type.required.element.summary">Required</a>&nbsp;|&nbsp;</li>
<li>Optional</li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#annotation.type.element.detail">Element</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

View File

@ -1,139 +1,232 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>JSONString</title> <title>JSONString</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="declaration: package: org.json, interface: JSONString">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="class-declaration-page"> <body>
<script type="text/javascript">var evenRowColor = "even-row-color"; <script type="text/javascript"><!--
var oddRowColor = "odd-row-color"; try {
var tableTab = "table-tab"; if (location.href.indexOf('is-external=true') == -1) {
var activeTableTab = "active-table-tab"; parent.document.title="JSONString";
var pathtoroot = "../../"; }
loadScripts(document, 'script');</script> }
catch(err) {
}
//-->
var methods = {"i0":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<li><a href="package-summary.html">Package</a></li> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<li class="nav-bar-cell1-rev">Class</li> <a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li> <li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li> <li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html#class">Help</a></li> <li><a href="../../help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONPropertyName.html" title="annotation in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/JSONStringer.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/JSONString.html" target="_top">Frames</a></li>
<li><a href="JSONString.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div> <div>
<ul class="sub-nav-list"> <script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li> <li><a href="#method.summary">Method</a></li>
</ul> </ul>
<ul class="sub-nav-list"> <ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li> <li><a href="#method.detail">Method</a></li>
</ul> </ul>
</div> </div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <a name="skip.navbar.top">
<input type="text" id="search-input" value="search" disabled="disabled"> <!-- -->
<input type="reset" id="reset-button" value="reset" disabled="disabled"> </a></div>
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== --> <!-- ======== START OF CLASS DATA ======== -->
<div class="header"> <div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.json</a></div> <div class="subTitle">org.json</div>
<h1 title="Interface JSONString" class="title">Interface JSONString</h1> <h2 title="Interface JSONString" class="title">Interface JSONString</h2>
</div> </div>
<section class="class-description" id="class-description"> <div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr> <hr>
<div class="type-signature"><span class="modifiers">public interface </span><span class="element-name type-name-label">JSONString</span></div> <br>
<pre>public interface <span class="typeNameLabel">JSONString</span></pre>
<div class="block">The <code>JSONString</code> interface allows a <code>toJSONString()</code> <div class="block">The <code>JSONString</code> interface allows a <code>toJSONString()</code>
method so that a class can change the behavior of method so that a class can change the behavior of
<code>JSONObject.toString()</code>, <code>JSONArray.toString()</code>, <code>JSONObject.toString()</code>, <code>JSONArray.toString()</code>,
and <code>JSONWriter.value(</code>Object<code>)</code>. The and <code>JSONWriter.value(</code>Object<code>)</code>. The
<code>toJSONString</code> method will be used instead of the default behavior <code>toJSONString</code> method will be used instead of the default behavior
of using the Object's <code>toString()</code> method and quoting the result.</div> of using the Object's <code>toString()</code> method and quoting the result.</div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab3" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab3', 3)" class="table-tab">Abstract Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#toJSONString()" class="member-name-link">toJSONString</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">The <code>toJSONString</code> method allows a class to produce its own JSON
serialization.</div>
</div>
</div>
</div>
</div>
</section>
</li> </li>
</ul> </ul>
</section> </div>
<section class="details"> <div class="summary">
<ul class="details-list"> <ul class="blockList">
<!-- ============ METHOD DETAIL ========== --> <li class="blockList">
<li> <!-- ========== METHOD SUMMARY =========== -->
<section class="method-details" id="method-detail"> <ul class="blockList">
<h2>Method Details</h2> <li class="blockList"><a name="method.summary">
<ul class="member-list"> <!-- -->
<li> </a>
<section class="detail" id="toJSONString()"> <h3>Method Summary</h3>
<h3>toJSONString</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">toJSONString</span>()</div> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONString.html#toJSONString--">toJSONString</a></span>()</code>
<div class="block">The <code>toJSONString</code> method allows a class to produce its own JSON <div class="block">The <code>toJSONString</code> method allows a class to produce its own JSON
serialization.</div> serialization.</div>
<dl class="notes"> </td>
<dt>Returns:</dt> </tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="toJSONString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toJSONString</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toJSONString()</pre>
<div class="block">The <code>toJSONString</code> method allows a class to produce its own JSON
serialization.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A strictly syntactically correct JSON text.</dd> <dd>A strictly syntactically correct JSON text.</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul> </ul>
</section> </li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= --> <!-- ========= END OF CLASS DATA ========= -->
</main> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONPropertyName.html" title="annotation in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/JSONStringer.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/JSONString.html" target="_top">Frames</a></li>
<li><a href="JSONString.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

View File

@ -1,85 +1,119 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>JSONStringer</title> <title>JSONStringer</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="declaration: package: org.json, class: JSONStringer">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="class-declaration-page"> <body>
<script type="text/javascript">var evenRowColor = "even-row-color"; <script type="text/javascript"><!--
var oddRowColor = "odd-row-color"; try {
var tableTab = "table-tab"; if (location.href.indexOf('is-external=true') == -1) {
var activeTableTab = "active-table-tab"; parent.document.title="JSONStringer";
var pathtoroot = "../../"; }
loadScripts(document, 'script');</script> }
catch(err) {
}
//-->
var methods = {"i0":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<li><a href="package-summary.html">Package</a></li> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<li class="nav-bar-cell1-rev">Class</li> <a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li> <li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li> <li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html#class">Help</a></li> <li><a href="../../help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONString.html" title="interface in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/JSONTokener.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/JSONStringer.html" target="_top">Frames</a></li>
<li><a href="JSONStringer.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div> <div>
<ul class="sub-nav-list"> <script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field-summary">Field</a>&nbsp;|&nbsp;</li> <li><a href="#fields.inherited.from.class.org.json.JSONWriter">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li> <li><a href="#method.summary">Method</a></li>
</ul> </ul>
<ul class="sub-nav-list"> <ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li> <li><a href="#method.detail">Method</a></li>
</ul> </ul>
</div> </div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <a name="skip.navbar.top">
<input type="text" id="search-input" value="search" disabled="disabled"> <!-- -->
<input type="reset" id="reset-button" value="reset" disabled="disabled"> </a></div>
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== --> <!-- ======== START OF CLASS DATA ======== -->
<div class="header"> <div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.json</a></div> <div class="subTitle">org.json</div>
<h1 title="Class JSONStringer" class="title">Class JSONStringer</h1> <h2 title="Class JSONStringer" class="title">Class JSONStringer</h2>
</div> </div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> <div class="contentContainer">
<div class="inheritance"><a href="JSONWriter.html" title="class in org.json">org.json.JSONWriter</a> <ul class="inheritance">
<div class="inheritance">org.json.JSONStringer</div> <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
</div> <li>
</div> <ul class="inheritance">
<section class="class-description" id="class-description"> <li><a href="../../org/json/JSONWriter.html" title="class in org.json">org.json.JSONWriter</a></li>
<li>
<ul class="inheritance">
<li>org.json.JSONStringer</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr> <hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">JSONStringer</span> <br>
<span class="extends-implements">extends <a href="JSONWriter.html" title="class in org.json">JSONWriter</a></span></div> <pre>public class <span class="typeNameLabel">JSONStringer</span>
extends <a href="../../org/json/JSONWriter.html" title="class in org.json">JSONWriter</a></pre>
<div class="block">JSONStringer provides a quick and convenient way of producing JSON text. <div class="block">JSONStringer provides a quick and convenient way of producing JSON text.
The texts produced strictly conform to JSON syntax rules. No whitespace is The texts produced strictly conform to JSON syntax rules. No whitespace is
added, so the results are ready for transmission or storage. Each instance of added, so the results are ready for transmission or storage. Each instance of
@ -106,109 +140,197 @@ loadScripts(document, 'script');</script>
you. Objects and arrays can be nested up to 200 levels deep. you. Objects and arrays can be nested up to 200 levels deep.
<p> <p>
This can sometimes be easier than using a JSONObject to build a string.</div> This can sometimes be easier than using a JSONObject to build a string.</div>
</section> </li>
<section class="summary"> </ul>
<ul class="summary-list"> </div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== --> <!-- =========== FIELD SUMMARY =========== -->
<li> <ul class="blockList">
<section class="field-summary" id="field-summary"> <li class="blockList"><a name="field.summary">
<h2>Field Summary</h2> <!-- -->
<div class="inherited-list"> </a>
<h3 id="fields-inherited-from-class-org.json.JSONWriter">Fields inherited from class&nbsp;org.json.<a href="JSONWriter.html" title="class in org.json">JSONWriter</a></h3> <h3>Field Summary</h3>
<code><a href="JSONWriter.html#mode">mode</a>, <a href="JSONWriter.html#writer">writer</a></code></div> <ul class="blockList">
</section> <li class="blockList"><a name="fields.inherited.from.class.org.json.JSONWriter">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.json.<a href="../../org/json/JSONWriter.html" title="class in org.json">JSONWriter</a></h3>
<code><a href="../../org/json/JSONWriter.html#mode">mode</a>, <a href="../../org/json/JSONWriter.html#writer">writer</a></code></li>
</ul>
</li> </li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== --> <!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li> <ul class="blockList">
<section class="constructor-summary" id="constructor-summary"> <li class="blockList"><a name="constructor.summary">
<h2>Constructor Summary</h2> <!-- -->
<div class="caption"><span>Constructors</span></div> </a>
<div class="summary-table two-column-summary"> <h3>Constructor Summary</h3>
<div class="table-header col-first">Constructor</div> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<div class="table-header col-last">Description</div> <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">JSONStringer</a>()</code></div> <tr>
<div class="col-last even-row-color"> <th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../org/json/JSONStringer.html#JSONStringer--">JSONStringer</a></span>()</code>
<div class="block">Make a fresh JSONStringer.</div> <div class="block">Make a fresh JSONStringer.</div>
</div> </td>
</div> </tr>
</section> </table>
</li> </li>
</ul>
<!-- ========== METHOD SUMMARY =========== --> <!-- ========== METHOD SUMMARY =========== -->
<li> <ul class="blockList">
<section class="method-summary" id="method-summary"> <li class="blockList"><a name="method.summary">
<h2>Method Summary</h2> <!-- -->
<div id="method-summary-table"> </a>
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> <h3>Method Summary</h3>
<div id="method-summary-table.tabpanel" role="tabpanel"> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<div class="table-header col-first">Modifier and Type</div> <tr>
<div class="table-header col-second">Method</div> <th class="colFirst" scope="col">Modifier and Type</th>
<div class="table-header col-last">Description</div> <th class="colLast" scope="col">Method and Description</th>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> </tr>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#toString()" class="member-name-link">toString</a>()</code></div> <tr id="i0" class="altColor">
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> <td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONStringer.html#toString--">toString</a></span>()</code>
<div class="block">Return the JSON text.</div> <div class="block">Return the JSON text.</div>
</div> </td>
</div> </tr>
</div> </table>
</div> <ul class="blockList">
<div class="inherited-list"> <li class="blockList"><a name="methods.inherited.from.class.org.json.JSONWriter">
<h3 id="methods-inherited-from-class-org.json.JSONWriter">Methods inherited from class&nbsp;org.json.<a href="JSONWriter.html" title="class in org.json">JSONWriter</a></h3> <!-- -->
<code><a href="JSONWriter.html#array()">array</a>, <a href="JSONWriter.html#endArray()">endArray</a>, <a href="JSONWriter.html#endObject()">endObject</a>, <a href="JSONWriter.html#key(java.lang.String)">key</a>, <a href="JSONWriter.html#object()">object</a>, <a href="JSONWriter.html#value(boolean)">value</a>, <a href="JSONWriter.html#value(double)">value</a>, <a href="JSONWriter.html#value(long)">value</a>, <a href="JSONWriter.html#value(java.lang.Object)">value</a>, <a href="JSONWriter.html#valueToString(java.lang.Object)">valueToString</a></code></div> </a>
<div class="inherited-list"> <h3>Methods inherited from class&nbsp;org.json.<a href="../../org/json/JSONWriter.html" title="class in org.json">JSONWriter</a></h3>
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> <code><a href="../../org/json/JSONWriter.html#array--">array</a>, <a href="../../org/json/JSONWriter.html#endArray--">endArray</a>, <a href="../../org/json/JSONWriter.html#endObject--">endObject</a>, <a href="../../org/json/JSONWriter.html#key-java.lang.String-">key</a>, <a href="../../org/json/JSONWriter.html#object--">object</a>, <a href="../../org/json/JSONWriter.html#value-boolean-">value</a>, <a href="../../org/json/JSONWriter.html#value-double-">value</a>, <a href="../../org/json/JSONWriter.html#value-long-">value</a>, <a href="../../org/json/JSONWriter.html#value-java.lang.Object-">value</a>, <a href="../../org/json/JSONWriter.html#valueToString-java.lang.Object-">valueToString</a></code></li>
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> </ul>
</section> <ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li> </li>
</ul> </ul>
</section> </li>
<section class="details"> </ul>
<ul class="details-list"> </div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== --> <!-- ========= CONSTRUCTOR DETAIL ======== -->
<li> <ul class="blockList">
<section class="constructor-details" id="constructor-detail"> <li class="blockList"><a name="constructor.detail">
<h2>Constructor Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Constructor Detail</h3>
<section class="detail" id="&lt;init&gt;()"> <a name="JSONStringer--">
<h3>JSONStringer</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">JSONStringer</span>()</div> </a>
<ul class="blockListLast">
<li class="blockList">
<h4>JSONStringer</h4>
<pre>public&nbsp;JSONStringer()</pre>
<div class="block">Make a fresh JSONStringer. It can be used to build one JSON text.</div> <div class="block">Make a fresh JSONStringer. It can be used to build one JSON text.</div>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul>
<!-- ============ METHOD DETAIL ========== --> <!-- ============ METHOD DETAIL ========== -->
<li> <ul class="blockList">
<section class="method-details" id="method-detail"> <li class="blockList"><a name="method.detail">
<h2>Method Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Method Detail</h3>
<section class="detail" id="toString()"> <a name="toString--">
<h3>toString</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">toString</span>()</div> </a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<div class="block">Return the JSON text. This method is used to obtain the product of the <div class="block">Return the JSON text. This method is used to obtain the product of the
JSONStringer instance. It will return <code>null</code> if there was a JSONStringer instance. It will return <code>null</code> if there was a
problem in the construction of the JSON text (such as the calls to problem in the construction of the JSON text (such as the calls to
<code>array</code> were not properly balanced with calls to <code>array</code> were not properly balanced with calls to
<code>endArray</code>).</div> <code>endArray</code>).</div>
<dl class="notes"> <dl>
<dt>Overrides:</dt> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></code></dd> <dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>The JSON text.</dd> <dd>The JSON text.</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul> </ul>
</section> </li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= --> <!-- ========= END OF CLASS DATA ========= -->
</main> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONString.html" title="interface in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/JSONTokener.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/JSONStringer.html" target="_top">Frames</a></li>
<li><a href="JSONStringer.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.org.json.JSONWriter">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

View File

@ -1,87 +1,118 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>JSONWriter</title> <title>JSONWriter</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="declaration: package: org.json, class: JSONWriter">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="class-declaration-page"> <body>
<script type="text/javascript">var evenRowColor = "even-row-color"; <script type="text/javascript"><!--
var oddRowColor = "odd-row-color"; try {
var tableTab = "table-tab"; if (location.href.indexOf('is-external=true') == -1) {
var activeTableTab = "active-table-tab"; parent.document.title="JSONWriter";
var pathtoroot = "../../"; }
loadScripts(document, 'script');</script> }
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<li><a href="package-summary.html">Package</a></li> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<li class="nav-bar-cell1-rev">Class</li> <a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li> <li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li> <li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html#class">Help</a></li> <li><a href="../../help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONTokener.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/ParserConfiguration.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/JSONWriter.html" target="_top">Frames</a></li>
<li><a href="JSONWriter.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div> <div>
<ul class="sub-nav-list"> <script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field-summary">Field</a>&nbsp;|&nbsp;</li> <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li> <li><a href="#method.summary">Method</a></li>
</ul> </ul>
<ul class="sub-nav-list"> <ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li><a href="#field-detail">Field</a>&nbsp;|&nbsp;</li> <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li> <li><a href="#method.detail">Method</a></li>
</ul> </ul>
</div> </div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <a name="skip.navbar.top">
<input type="text" id="search-input" value="search" disabled="disabled"> <!-- -->
<input type="reset" id="reset-button" value="reset" disabled="disabled"> </a></div>
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== --> <!-- ======== START OF CLASS DATA ======== -->
<div class="header"> <div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.json</a></div> <div class="subTitle">org.json</div>
<h1 title="Class JSONWriter" class="title">Class JSONWriter</h1> <h2 title="Class JSONWriter" class="title">Class JSONWriter</h2>
</div> </div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> <div class="contentContainer">
<div class="inheritance">org.json.JSONWriter</div> <ul class="inheritance">
</div> <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<section class="class-description" id="class-description"> <li>
<dl class="notes"> <ul class="inheritance">
<li>org.json.JSONWriter</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Direct Known Subclasses:</dt> <dt>Direct Known Subclasses:</dt>
<dd><code><a href="JSONStringer.html" title="class in org.json">JSONStringer</a></code></dd> <dd><a href="../../org/json/JSONStringer.html" title="class in org.json">JSONStringer</a></dd>
</dl> </dl>
<hr> <hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">JSONWriter</span> <br>
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span></div> <pre>public class <span class="typeNameLabel">JSONWriter</span>
extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">JSONWriter provides a quick and convenient way of producing JSON text. <div class="block">JSONWriter provides a quick and convenient way of producing JSON text.
The texts produced strictly conform to JSON syntax rules. No whitespace is The texts produced strictly conform to JSON syntax rules. No whitespace is
added, so the results are ready for transmission or storage. Each instance of added, so the results are ready for transmission or storage. Each instance of
@ -107,260 +138,315 @@ loadScripts(document, 'script');</script>
you. Objects and arrays can be nested up to 200 levels deep. you. Objects and arrays can be nested up to 200 levels deep.
<p> <p>
This can sometimes be easier than using a JSONObject to build a string.</div> This can sometimes be easier than using a JSONObject to build a string.</div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- =========== FIELD SUMMARY =========== -->
<li>
<section class="field-summary" id="field-summary">
<h2>Field Summary</h2>
<div class="caption"><span>Fields</span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Field</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>protected char</code></div>
<div class="col-second even-row-color"><code><a href="#mode" class="member-name-link">mode</a></code></div>
<div class="col-last even-row-color">
<div class="block">The current mode.</div>
</div>
<div class="col-first odd-row-color"><code>protected <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Appendable.html" title="class or interface in java.lang" class="external-link">Appendable</a></code></div>
<div class="col-second odd-row-color"><code><a href="#writer" class="member-name-link">writer</a></code></div>
<div class="col-last odd-row-color">
<div class="block">The writer that will receive the output.</div>
</div>
</div>
</section>
</li>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li>
<section class="constructor-summary" id="constructor-summary">
<h2>Constructor Summary</h2>
<div class="caption"><span>Constructors</span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(java.lang.Appendable)" class="member-name-link">JSONWriter</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Appendable.html" title="class or interface in java.lang" class="external-link">Appendable</a>&nbsp;w)</code></div>
<div class="col-last even-row-color">
<div class="block">Make a fresh JSONWriter.</div>
</div>
</div>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="JSONWriter.html" title="class in org.json">JSONWriter</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#array()" class="member-name-link">array</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Begin appending a new array.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="JSONWriter.html" title="class in org.json">JSONWriter</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#endArray()" class="member-name-link">endArray</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">End an array.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="JSONWriter.html" title="class in org.json">JSONWriter</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#endObject()" class="member-name-link">endObject</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">End an object.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="JSONWriter.html" title="class in org.json">JSONWriter</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#key(java.lang.String)" class="member-name-link">key</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;string)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Append a key.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="JSONWriter.html" title="class in org.json">JSONWriter</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#object()" class="member-name-link">object</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Begin appending a new object.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="JSONWriter.html" title="class in org.json">JSONWriter</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#value(boolean)" class="member-name-link">value</a><wbr>(boolean&nbsp;b)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Append either the value <code>true</code> or the value
<code>false</code>.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="JSONWriter.html" title="class in org.json">JSONWriter</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#value(double)" class="member-name-link">value</a><wbr>(double&nbsp;d)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Append a double value.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="JSONWriter.html" title="class in org.json">JSONWriter</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#value(long)" class="member-name-link">value</a><wbr>(long&nbsp;l)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Append a long value.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="JSONWriter.html" title="class in org.json">JSONWriter</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#value(java.lang.Object)" class="member-name-link">value</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>&nbsp;object)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Append an object value.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#valueToString(java.lang.Object)" class="member-name-link">valueToString</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Make a JSON text of an Object value.</div>
</div>
</div>
</div>
</div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
</section>
</li> </li>
</ul> </ul>
</section> </div>
<section class="details"> <div class="summary">
<ul class="details-list"> <ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected char</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONWriter.html#mode">mode</a></span></code>
<div class="block">The current mode.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang">Appendable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONWriter.html#writer">writer</a></span></code>
<div class="block">The writer that will receive the output.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../org/json/JSONWriter.html#JSONWriter-java.lang.Appendable-">JSONWriter</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang">Appendable</a>&nbsp;w)</code>
<div class="block">Make a fresh JSONWriter.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../org/json/JSONWriter.html" title="class in org.json">JSONWriter</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONWriter.html#array--">array</a></span>()</code>
<div class="block">Begin appending a new array.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../org/json/JSONWriter.html" title="class in org.json">JSONWriter</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONWriter.html#endArray--">endArray</a></span>()</code>
<div class="block">End an array.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../org/json/JSONWriter.html" title="class in org.json">JSONWriter</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONWriter.html#endObject--">endObject</a></span>()</code>
<div class="block">End an object.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../org/json/JSONWriter.html" title="class in org.json">JSONWriter</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONWriter.html#key-java.lang.String-">key</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)</code>
<div class="block">Append a key.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../org/json/JSONWriter.html" title="class in org.json">JSONWriter</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONWriter.html#object--">object</a></span>()</code>
<div class="block">Begin appending a new object.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../org/json/JSONWriter.html" title="class in org.json">JSONWriter</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONWriter.html#value-boolean-">value</a></span>(boolean&nbsp;b)</code>
<div class="block">Append either the value <code>true</code> or the value
<code>false</code>.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../org/json/JSONWriter.html" title="class in org.json">JSONWriter</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONWriter.html#value-double-">value</a></span>(double&nbsp;d)</code>
<div class="block">Append a double value.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../org/json/JSONWriter.html" title="class in org.json">JSONWriter</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONWriter.html#value-long-">value</a></span>(long&nbsp;l)</code>
<div class="block">Append a long value.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../org/json/JSONWriter.html" title="class in org.json">JSONWriter</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONWriter.html#value-java.lang.Object-">value</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object)</code>
<div class="block">Append an object value.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/JSONWriter.html#valueToString-java.lang.Object-">valueToString</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
<div class="block">Make a JSON text of an Object value.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== --> <!-- ============ FIELD DETAIL =========== -->
<li> <ul class="blockList">
<section class="field-details" id="field-detail"> <li class="blockList"><a name="field.detail">
<h2>Field Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Field Detail</h3>
<section class="detail" id="mode"> <a name="mode">
<h3>mode</h3> <!-- -->
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type">char</span>&nbsp;<span class="element-name">mode</span></div> </a>
<ul class="blockList">
<li class="blockList">
<h4>mode</h4>
<pre>protected&nbsp;char mode</pre>
<div class="block">The current mode. Values: <div class="block">The current mode. Values:
'a' (array), 'a' (array),
'd' (done), 'd' (done),
'i' (initial), 'i' (initial),
'k' (key), 'k' (key),
'o' (object).</div> 'o' (object).</div>
</section>
</li>
<li>
<section class="detail" id="writer">
<h3>writer</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Appendable.html" title="class or interface in java.lang" class="external-link">Appendable</a></span>&nbsp;<span class="element-name">writer</span></div>
<div class="block">The writer that will receive the output.</div>
</section>
</li> </li>
</ul> </ul>
</section> <a name="writer">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>writer</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang">Appendable</a> writer</pre>
<div class="block">The writer that will receive the output.</div>
</li> </li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== --> <!-- ========= CONSTRUCTOR DETAIL ======== -->
<li> <ul class="blockList">
<section class="constructor-details" id="constructor-detail"> <li class="blockList"><a name="constructor.detail">
<h2>Constructor Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Constructor Detail</h3>
<section class="detail" id="&lt;init&gt;(java.lang.Appendable)"> <a name="JSONWriter-java.lang.Appendable-">
<h3>JSONWriter</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">JSONWriter</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Appendable.html" title="class or interface in java.lang" class="external-link">Appendable</a>&nbsp;w)</span></div> </a>
<ul class="blockListLast">
<li class="blockList">
<h4>JSONWriter</h4>
<pre>public&nbsp;JSONWriter(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang">Appendable</a>&nbsp;w)</pre>
<div class="block">Make a fresh JSONWriter. It can be used to build one JSON text.</div> <div class="block">Make a fresh JSONWriter. It can be used to build one JSON text.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>w</code> - an appendable object</dd> <dd><code>w</code> - an appendable object</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul>
<!-- ============ METHOD DETAIL ========== --> <!-- ============ METHOD DETAIL ========== -->
<li> <ul class="blockList">
<section class="method-details" id="method-detail"> <li class="blockList"><a name="method.detail">
<h2>Method Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Method Detail</h3>
<section class="detail" id="array()"> <a name="array--">
<h3>array</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="JSONWriter.html" title="class in org.json">JSONWriter</a></span>&nbsp;<span class="element-name">array</span>() </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockList">
<li class="blockList">
<h4>array</h4>
<pre>public&nbsp;<a href="../../org/json/JSONWriter.html" title="class in org.json">JSONWriter</a>&nbsp;array()
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block">Begin appending a new array. All values until the balancing <div class="block">Begin appending a new array. All values until the balancing
<code>endArray</code> will be appended to this array. The <code>endArray</code> will be appended to this array. The
<code>endArray</code> method must be called to mark the array's end.</div> <code>endArray</code> method must be called to mark the array's end.</div>
<dl class="notes"> <dl>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>this</dd> <dd>this</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - If the nesting is too deep, or if the object is <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - If the nesting is too deep, or if the object is
started in the wrong place (for example as a key or after the end of the started in the wrong place (for example as a key or after the end of the
outermost array or object).</dd> outermost array or object).</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="endArray()"> <a name="endArray--">
<h3>endArray</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="JSONWriter.html" title="class in org.json">JSONWriter</a></span>&nbsp;<span class="element-name">endArray</span>() </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockList">
<li class="blockList">
<h4>endArray</h4>
<pre>public&nbsp;<a href="../../org/json/JSONWriter.html" title="class in org.json">JSONWriter</a>&nbsp;endArray()
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block">End an array. This method most be called to balance calls to <div class="block">End an array. This method most be called to balance calls to
<code>array</code>.</div> <code>array</code>.</div>
<dl class="notes"> <dl>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>this</dd> <dd>this</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - If incorrectly nested.</dd> <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - If incorrectly nested.</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="endObject()"> <a name="endObject--">
<h3>endObject</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="JSONWriter.html" title="class in org.json">JSONWriter</a></span>&nbsp;<span class="element-name">endObject</span>() </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockList">
<li class="blockList">
<h4>endObject</h4>
<pre>public&nbsp;<a href="../../org/json/JSONWriter.html" title="class in org.json">JSONWriter</a>&nbsp;endObject()
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block">End an object. This method most be called to balance calls to <div class="block">End an object. This method most be called to balance calls to
<code>object</code>.</div> <code>object</code>.</div>
<dl class="notes"> <dl>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>this</dd> <dd>this</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - If incorrectly nested.</dd> <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - If incorrectly nested.</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="key(java.lang.String)"> <a name="key-java.lang.String-">
<h3>key</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="JSONWriter.html" title="class in org.json">JSONWriter</a></span>&nbsp;<span class="element-name">key</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;string)</span> </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockList">
<li class="blockList">
<h4>key</h4>
<pre>public&nbsp;<a href="../../org/json/JSONWriter.html" title="class in org.json">JSONWriter</a>&nbsp;key(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block">Append a key. The key will be associated with the next value. In an <div class="block">Append a key. The key will be associated with the next value. In an
object, every value must be preceded by a key.</div> object, every value must be preceded by a key.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>string</code> - A key string.</dd> <dd><code>string</code> - A key string.</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>this</dd> <dd>this</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - If the key is out of place. For example, keys <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - If the key is out of place. For example, keys
do not belong in arrays or if the key is null.</dd> do not belong in arrays or if the key is null.</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="object()"> <a name="object--">
<h3>object</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="JSONWriter.html" title="class in org.json">JSONWriter</a></span>&nbsp;<span class="element-name">object</span>() </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockList">
<li class="blockList">
<h4>object</h4>
<pre>public&nbsp;<a href="../../org/json/JSONWriter.html" title="class in org.json">JSONWriter</a>&nbsp;object()
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block">Begin appending a new object. All keys and values until the balancing <div class="block">Begin appending a new object. All keys and values until the balancing
<code>endObject</code> will be appended to this object. The <code>endObject</code> will be appended to this object. The
<code>endObject</code> method must be called to mark the object's end.</div> <code>endObject</code> method must be called to mark the object's end.</div>
<dl class="notes"> <dl>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>this</dd> <dd>this</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - If the nesting is too deep, or if the object is <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - If the nesting is too deep, or if the object is
started in the wrong place (for example as a key or after the end of the started in the wrong place (for example as a key or after the end of the
outermost array or object).</dd> outermost array or object).</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="valueToString(java.lang.Object)"> <a name="valueToString-java.lang.Object-">
<h3>valueToString</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">valueToString</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>&nbsp;value)</span> </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockList">
<li class="blockList">
<h4>valueToString</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;valueToString(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block">Make a JSON text of an Object value. If the object has an <div class="block">Make a JSON text of an Object value. If the object has an
value.toJSONString() method, then that method will be used to produce the value.toJSONString() method, then that method will be used to produce the
JSON text. The method is required to produce a strictly conforming text. JSON text. The method is required to produce a strictly conforming text.
@ -374,93 +460,163 @@ loadScripts(document, 'script');</script>
<p> <p>
Warning: This method assumes that the data structure is acyclical.</div> Warning: This method assumes that the data structure is acyclical.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The value to be serialized.</dd> <dd><code>value</code> - The value to be serialized.</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>a printable, displayable, transmittable representation of the <dd>a printable, displayable, transmittable representation of the
object, beginning with <code>{</code>&nbsp;<small>(left object, beginning with <code>{</code>&nbsp;<small>(left
brace)</small> and ending with <code>}</code>&nbsp;<small>(right brace)</small> and ending with <code>}</code>&nbsp;<small>(right
brace)</small>.</dd> brace)</small>.</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - If the value is or contains an invalid number.</dd> <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - If the value is or contains an invalid number.</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="value(boolean)"> <a name="value-boolean-">
<h3>value</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="JSONWriter.html" title="class in org.json">JSONWriter</a></span>&nbsp;<span class="element-name">value</span><wbr><span class="parameters">(boolean&nbsp;b)</span> </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockList">
<li class="blockList">
<h4>value</h4>
<pre>public&nbsp;<a href="../../org/json/JSONWriter.html" title="class in org.json">JSONWriter</a>&nbsp;value(boolean&nbsp;b)
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block">Append either the value <code>true</code> or the value <div class="block">Append either the value <code>true</code> or the value
<code>false</code>.</div> <code>false</code>.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>b</code> - A boolean.</dd> <dd><code>b</code> - A boolean.</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>this</dd> <dd>this</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - if a called function has an error</dd> <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - if a called function has an error</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="value(double)"> <a name="value-double-">
<h3>value</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="JSONWriter.html" title="class in org.json">JSONWriter</a></span>&nbsp;<span class="element-name">value</span><wbr><span class="parameters">(double&nbsp;d)</span> </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockList">
<li class="blockList">
<h4>value</h4>
<pre>public&nbsp;<a href="../../org/json/JSONWriter.html" title="class in org.json">JSONWriter</a>&nbsp;value(double&nbsp;d)
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block">Append a double value.</div> <div class="block">Append a double value.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>d</code> - A double.</dd> <dd><code>d</code> - A double.</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>this</dd> <dd>this</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - If the number is not finite.</dd> <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - If the number is not finite.</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="value(long)"> <a name="value-long-">
<h3>value</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="JSONWriter.html" title="class in org.json">JSONWriter</a></span>&nbsp;<span class="element-name">value</span><wbr><span class="parameters">(long&nbsp;l)</span> </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockList">
<li class="blockList">
<h4>value</h4>
<pre>public&nbsp;<a href="../../org/json/JSONWriter.html" title="class in org.json">JSONWriter</a>&nbsp;value(long&nbsp;l)
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block">Append a long value.</div> <div class="block">Append a long value.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>l</code> - A long.</dd> <dd><code>l</code> - A long.</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>this</dd> <dd>this</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - if a called function has an error</dd> <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - if a called function has an error</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="value(java.lang.Object)"> <a name="value-java.lang.Object-">
<h3>value</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="JSONWriter.html" title="class in org.json">JSONWriter</a></span>&nbsp;<span class="element-name">value</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>&nbsp;object)</span> </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockListLast">
<li class="blockList">
<h4>value</h4>
<pre>public&nbsp;<a href="../../org/json/JSONWriter.html" title="class in org.json">JSONWriter</a>&nbsp;value(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object)
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block">Append an object value.</div> <div class="block">Append an object value.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>object</code> - The object to append. It can be null, or a Boolean, Number, <dd><code>object</code> - The object to append. It can be null, or a Boolean, Number,
String, JSONObject, or JSONArray, or an object that implements JSONString.</dd> String, JSONObject, or JSONArray, or an object that implements JSONString.</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>this</dd> <dd>this</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - If the value is out of sequence.</dd> <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - If the value is out of sequence.</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul> </ul>
</section> </li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= --> <!-- ========= END OF CLASS DATA ========= -->
</main> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONTokener.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/ParserConfiguration.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/JSONWriter.html" target="_top">Frames</a></li>
<li><a href="JSONWriter.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

View File

@ -1,363 +1,504 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>ParserConfiguration</title> <title>ParserConfiguration</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="declaration: package: org.json, class: ParserConfiguration">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="class-declaration-page"> <body>
<script type="text/javascript">var evenRowColor = "even-row-color"; <script type="text/javascript"><!--
var oddRowColor = "odd-row-color"; try {
var tableTab = "table-tab"; if (location.href.indexOf('is-external=true') == -1) {
var activeTableTab = "active-table-tab"; parent.document.title="ParserConfiguration";
var pathtoroot = "../../"; }
loadScripts(document, 'script');</script> }
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<li><a href="package-summary.html">Package</a></li> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<li class="nav-bar-cell1-rev">Class</li> <a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li> <li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li> <li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html#class">Help</a></li> <li><a href="../../help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONWriter.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/Property.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/ParserConfiguration.html" target="_top">Frames</a></li>
<li><a href="ParserConfiguration.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div> <div>
<ul class="sub-nav-list"> <script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field-summary">Field</a>&nbsp;|&nbsp;</li> <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li> <li><a href="#method.summary">Method</a></li>
</ul> </ul>
<ul class="sub-nav-list"> <ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li><a href="#field-detail">Field</a>&nbsp;|&nbsp;</li> <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li> <li><a href="#method.detail">Method</a></li>
</ul> </ul>
</div> </div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <a name="skip.navbar.top">
<input type="text" id="search-input" value="search" disabled="disabled"> <!-- -->
<input type="reset" id="reset-button" value="reset" disabled="disabled"> </a></div>
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== --> <!-- ======== START OF CLASS DATA ======== -->
<div class="header"> <div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.json</a></div> <div class="subTitle">org.json</div>
<h1 title="Class ParserConfiguration" class="title">Class ParserConfiguration</h1> <h2 title="Class ParserConfiguration" class="title">Class ParserConfiguration</h2>
</div> </div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> <div class="contentContainer">
<div class="inheritance">org.json.ParserConfiguration</div> <ul class="inheritance">
</div> <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<section class="class-description" id="class-description"> <li>
<dl class="notes"> <ul class="inheritance">
<li>org.json.ParserConfiguration</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Direct Known Subclasses:</dt> <dt>Direct Known Subclasses:</dt>
<dd><code><a href="JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a></code>, <code><a href="JSONParserConfiguration.html" title="class in org.json">JSONParserConfiguration</a></code>, <code><a href="XMLParserConfiguration.html" title="class in org.json">XMLParserConfiguration</a></code></dd> <dd><a href="../../org/json/JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a>, <a href="../../org/json/JSONParserConfiguration.html" title="class in org.json">JSONParserConfiguration</a>, <a href="../../org/json/XMLParserConfiguration.html" title="class in org.json">XMLParserConfiguration</a></dd>
</dl> </dl>
<hr> <hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">ParserConfiguration</span> <br>
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span></div> <pre>public class <span class="typeNameLabel">ParserConfiguration</span>
extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Configuration base object for parsers. The configuration is immutable.</div> <div class="block">Configuration base object for parsers. The configuration is immutable.</div>
</section> </li>
<section class="summary"> </ul>
<ul class="summary-list"> </div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== --> <!-- =========== FIELD SUMMARY =========== -->
<li> <ul class="blockList">
<section class="field-summary" id="field-summary"> <li class="blockList"><a name="field.summary">
<h2>Field Summary</h2> <!-- -->
<div class="caption"><span>Fields</span></div> </a>
<div class="summary-table three-column-summary"> <h3>Field Summary</h3>
<div class="table-header col-first">Modifier and Type</div> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<div class="table-header col-second">Field</div> <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<div class="table-header col-last">Description</div> <tr>
<div class="col-first even-row-color"><code>static final int</code></div> <th class="colFirst" scope="col">Modifier and Type</th>
<div class="col-second even-row-color"><code><a href="#DEFAULT_MAXIMUM_NESTING_DEPTH" class="member-name-link">DEFAULT_MAXIMUM_NESTING_DEPTH</a></code></div> <th class="colLast" scope="col">Field and Description</th>
<div class="col-last even-row-color"> </tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/ParserConfiguration.html#DEFAULT_MAXIMUM_NESTING_DEPTH">DEFAULT_MAXIMUM_NESTING_DEPTH</a></span></code>
<div class="block">The default maximum nesting depth when parsing a document.</div> <div class="block">The default maximum nesting depth when parsing a document.</div>
</div> </td>
<div class="col-first odd-row-color"><code>protected boolean</code></div> </tr>
<div class="col-second odd-row-color"><code><a href="#keepStrings" class="member-name-link">keepStrings</a></code></div> <tr class="rowColor">
<div class="col-last odd-row-color"> <td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/ParserConfiguration.html#keepStrings">keepStrings</a></span></code>
<div class="block">Specifies if values should be kept as strings (<code>true</code>), or if <div class="block">Specifies if values should be kept as strings (<code>true</code>), or if
they should try to be guessed into JSON values (numeric, boolean, string)</div> they should try to be guessed into JSON values (numeric, boolean, string).</div>
</div> </td>
<div class="col-first even-row-color"><code>protected int</code></div> </tr>
<div class="col-second even-row-color"><code><a href="#maxNestingDepth" class="member-name-link">maxNestingDepth</a></code></div> <tr class="altColor">
<div class="col-last even-row-color"> <td class="colFirst"><code>protected int</code></td>
<div class="block">The maximum nesting depth when parsing a document.</div> <td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/ParserConfiguration.html#maxNestingDepth">maxNestingDepth</a></span></code>
</div> <div class="block">The maximum nesting depth when parsing an object.</div>
<div class="col-first odd-row-color"><code>static final int</code></div> </td>
<div class="col-second odd-row-color"><code><a href="#UNDEFINED_MAXIMUM_NESTING_DEPTH" class="member-name-link">UNDEFINED_MAXIMUM_NESTING_DEPTH</a></code></div> </tr>
<div class="col-last odd-row-color"> <tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/ParserConfiguration.html#UNDEFINED_MAXIMUM_NESTING_DEPTH">UNDEFINED_MAXIMUM_NESTING_DEPTH</a></span></code>
<div class="block">Used to indicate there's no defined limit to the maximum nesting depth when parsing a document.</div> <div class="block">Used to indicate there's no defined limit to the maximum nesting depth when parsing a document.</div>
</div> </td>
</div> </tr>
</section> </table>
</li> </li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== --> <!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li> <ul class="blockList">
<section class="constructor-summary" id="constructor-summary"> <li class="blockList"><a name="constructor.summary">
<h2>Constructor Summary</h2> <!-- -->
<div class="caption"><span>Constructors</span></div> </a>
<div class="summary-table three-column-summary"> <h3>Constructor Summary</h3>
<div class="table-header col-first">Modifier</div> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<div class="table-header col-second">Constructor</div> <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<div class="table-header col-last">Description</div> <tr>
<div class="col-first even-row-color"><code>&nbsp;</code></div> <th class="colFirst" scope="col">Modifier</th>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">ParserConfiguration</a>()</code></div> <th class="colLast" scope="col">Constructor and Description</th>
<div class="col-last even-row-color"> </tr>
<tr class="altColor">
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/ParserConfiguration.html#ParserConfiguration--">ParserConfiguration</a></span>()</code>
<div class="block">Constructs a new ParserConfiguration with default settings.</div> <div class="block">Constructs a new ParserConfiguration with default settings.</div>
</div> </td>
<div class="col-first odd-row-color"><code>protected </code></div> </tr>
<div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(boolean,int)" class="member-name-link">ParserConfiguration</a><wbr>(boolean&nbsp;keepStrings, <tr class="rowColor">
int&nbsp;maxNestingDepth)</code></div> <td class="colFirst"><code>protected </code></td>
<div class="col-last odd-row-color"> <td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/ParserConfiguration.html#ParserConfiguration-boolean-int-">ParserConfiguration</a></span>(boolean&nbsp;keepStrings,
int&nbsp;maxNestingDepth)</code>
<div class="block">Constructs a new ParserConfiguration with the specified settings.</div> <div class="block">Constructs a new ParserConfiguration with the specified settings.</div>
</div> </td>
</div> </tr>
</section> </table>
</li> </li>
</ul>
<!-- ========== METHOD SUMMARY =========== --> <!-- ========== METHOD SUMMARY =========== -->
<li> <ul class="blockList">
<section class="method-summary" id="method-summary"> <li class="blockList"><a name="method.summary">
<h2>Method Summary</h2> <!-- -->
<div id="method-summary-table"> </a>
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> <h3>Method Summary</h3>
<div id="method-summary-table.tabpanel" role="tabpanel"> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<div class="table-header col-first">Modifier and Type</div> <tr>
<div class="table-header col-second">Method</div> <th class="colFirst" scope="col">Modifier and Type</th>
<div class="table-header col-last">Description</div> <th class="colLast" scope="col">Method and Description</th>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></code></div> </tr>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clone()" class="member-name-link">clone</a>()</code></div> <tr id="i0" class="altColor">
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> <td class="colFirst"><code>protected <a href="../../org/json/ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/ParserConfiguration.html#clone--">clone</a></span>()</code>
<div class="block">Provides a new instance of the same configuration.</div> <div class="block">Provides a new instance of the same configuration.</div>
</div> </td>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> </tr>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxNestingDepth()" class="member-name-link">getMaxNestingDepth</a>()</code></div> <tr id="i1" class="rowColor">
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> <td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/ParserConfiguration.html#getMaxNestingDepth--">getMaxNestingDepth</a></span>()</code>
<div class="block">The maximum nesting depth that the parser will descend before throwing an exception <div class="block">The maximum nesting depth that the parser will descend before throwing an exception
when parsing the XML into JSONML.</div> when parsing an object (e.g.</div>
</div> </td>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> </tr>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isKeepStrings()" class="member-name-link">isKeepStrings</a>()</code></div> <tr id="i2" class="altColor">
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> <td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/ParserConfiguration.html#isKeepStrings--">isKeepStrings</a></span>()</code>
<div class="block">When parsing the XML into JSONML, specifies if values should be kept as strings (<code>true</code>), or if
they should try to be guessed into JSON values (numeric, boolean, string).</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>&lt;T extends <a href="../../org/json/ParserConfiguration.html" title="class in org.json">ParserConfiguration</a>&gt;<br>T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/ParserConfiguration.html#withKeepStrings-boolean-">withKeepStrings</a></span>(boolean&nbsp;newVal)</code>
<div class="block">When parsing the XML into JSONML, specifies if values should be kept as strings (<code>true</code>), or if <div class="block">When parsing the XML into JSONML, specifies if values should be kept as strings (<code>true</code>), or if
they should try to be guessed into JSON values (numeric, boolean, string)</div> they should try to be guessed into JSON values (numeric, boolean, string)</div>
</div> </td>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>&lt;T extends <a href="ParserConfiguration.html" title="class in org.json">ParserConfiguration</a>&gt;<br>T</code></div> </tr>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#withKeepStrings(boolean)" class="member-name-link">withKeepStrings</a><wbr>(boolean&nbsp;newVal)</code></div> <tr id="i4" class="altColor">
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> <td class="colFirst"><code>&lt;T extends <a href="../../org/json/ParserConfiguration.html" title="class in org.json">ParserConfiguration</a>&gt;<br>T</code></td>
<div class="block">When parsing the XML into JSONML, specifies if values should be kept as strings (<code>true</code>), or if <td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/ParserConfiguration.html#withMaxNestingDepth-int-">withMaxNestingDepth</a></span>(int&nbsp;maxNestingDepth)</code>
they should try to be guessed into JSON values (numeric, boolean, string)</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>&lt;T extends <a href="ParserConfiguration.html" title="class in org.json">ParserConfiguration</a>&gt;<br>T</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#withMaxNestingDepth(int)" class="member-name-link">withMaxNestingDepth</a><wbr>(int&nbsp;maxNestingDepth)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Defines the maximum nesting depth that the parser will descend before throwing an exception <div class="block">Defines the maximum nesting depth that the parser will descend before throwing an exception
when parsing the XML into JSONML.</div> when parsing an object (e.g.</div>
</div> </td>
</div> </tr>
</div> </table>
</div> <ul class="blockList">
<div class="inherited-list"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> <!-- -->
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> </a>
</section> <h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li> </li>
</ul> </ul>
</section> </li>
<section class="details"> </ul>
<ul class="details-list"> </div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== --> <!-- ============ FIELD DETAIL =========== -->
<li> <ul class="blockList">
<section class="field-details" id="field-detail"> <li class="blockList"><a name="field.detail">
<h2>Field Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Field Detail</h3>
<section class="detail" id="UNDEFINED_MAXIMUM_NESTING_DEPTH"> <a name="UNDEFINED_MAXIMUM_NESTING_DEPTH">
<h3>UNDEFINED_MAXIMUM_NESTING_DEPTH</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">UNDEFINED_MAXIMUM_NESTING_DEPTH</span></div> </a>
<ul class="blockList">
<li class="blockList">
<h4>UNDEFINED_MAXIMUM_NESTING_DEPTH</h4>
<pre>public static final&nbsp;int UNDEFINED_MAXIMUM_NESTING_DEPTH</pre>
<div class="block">Used to indicate there's no defined limit to the maximum nesting depth when parsing a document.</div> <div class="block">Used to indicate there's no defined limit to the maximum nesting depth when parsing a document.</div>
<dl class="notes"> <dl>
<dt>See Also:</dt> <dt><span class="seeLabel">See Also:</span></dt>
<dd> <dd><a href="../../constant-values.html#org.json.ParserConfiguration.UNDEFINED_MAXIMUM_NESTING_DEPTH">Constant Field Values</a></dd>
<ul class="see-list">
<li><a href="../../constant-values.html#org.json.ParserConfiguration.UNDEFINED_MAXIMUM_NESTING_DEPTH">Constant Field Values</a></li>
</ul>
</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="DEFAULT_MAXIMUM_NESTING_DEPTH"> <a name="DEFAULT_MAXIMUM_NESTING_DEPTH">
<h3>DEFAULT_MAXIMUM_NESTING_DEPTH</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">DEFAULT_MAXIMUM_NESTING_DEPTH</span></div> </a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_MAXIMUM_NESTING_DEPTH</h4>
<pre>public static final&nbsp;int DEFAULT_MAXIMUM_NESTING_DEPTH</pre>
<div class="block">The default maximum nesting depth when parsing a document.</div> <div class="block">The default maximum nesting depth when parsing a document.</div>
<dl class="notes"> <dl>
<dt>See Also:</dt> <dt><span class="seeLabel">See Also:</span></dt>
<dd> <dd><a href="../../constant-values.html#org.json.ParserConfiguration.DEFAULT_MAXIMUM_NESTING_DEPTH">Constant Field Values</a></dd>
<ul class="see-list">
<li><a href="../../constant-values.html#org.json.ParserConfiguration.DEFAULT_MAXIMUM_NESTING_DEPTH">Constant Field Values</a></li>
</ul>
</dd>
</dl> </dl>
</section>
</li>
<li>
<section class="detail" id="keepStrings">
<h3>keepStrings</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">keepStrings</span></div>
<div class="block">Specifies if values should be kept as strings (<code>true</code>), or if
they should try to be guessed into JSON values (numeric, boolean, string)</div>
</section>
</li>
<li>
<section class="detail" id="maxNestingDepth">
<h3>maxNestingDepth</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">maxNestingDepth</span></div>
<div class="block">The maximum nesting depth when parsing a document.</div>
</section>
</li> </li>
</ul> </ul>
</section> <a name="keepStrings">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>keepStrings</h4>
<pre>protected&nbsp;boolean keepStrings</pre>
<div class="block">Specifies if values should be kept as strings (<code>true</code>), or if
they should try to be guessed into JSON values (numeric, boolean, string).</div>
</li> </li>
</ul>
<a name="maxNestingDepth">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>maxNestingDepth</h4>
<pre>protected&nbsp;int maxNestingDepth</pre>
<div class="block">The maximum nesting depth when parsing an object.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== --> <!-- ========= CONSTRUCTOR DETAIL ======== -->
<li> <ul class="blockList">
<section class="constructor-details" id="constructor-detail"> <li class="blockList"><a name="constructor.detail">
<h2>Constructor Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Constructor Detail</h3>
<section class="detail" id="&lt;init&gt;()"> <a name="ParserConfiguration--">
<h3>ParserConfiguration</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">ParserConfiguration</span>()</div> </a>
<ul class="blockList">
<li class="blockList">
<h4>ParserConfiguration</h4>
<pre>public&nbsp;ParserConfiguration()</pre>
<div class="block">Constructs a new ParserConfiguration with default settings.</div> <div class="block">Constructs a new ParserConfiguration with default settings.</div>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="&lt;init&gt;(boolean,int)"> <a name="ParserConfiguration-boolean-int-">
<h3>ParserConfiguration</h3> <!-- -->
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="element-name">ParserConfiguration</span><wbr><span class="parameters">(boolean&nbsp;keepStrings, </a>
int&nbsp;maxNestingDepth)</span></div> <ul class="blockListLast">
<li class="blockList">
<h4>ParserConfiguration</h4>
<pre>protected&nbsp;ParserConfiguration(boolean&nbsp;keepStrings,
int&nbsp;maxNestingDepth)</pre>
<div class="block">Constructs a new ParserConfiguration with the specified settings.</div> <div class="block">Constructs a new ParserConfiguration with the specified settings.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>keepStrings</code> - A boolean indicating whether to preserve strings during parsing.</dd> <dd><code>keepStrings</code> - A boolean indicating whether to preserve strings during parsing.</dd>
<dd><code>maxNestingDepth</code> - An integer representing the maximum allowed nesting depth.</dd> <dd><code>maxNestingDepth</code> - An integer representing the maximum allowed nesting depth.</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul>
<!-- ============ METHOD DETAIL ========== --> <!-- ============ METHOD DETAIL ========== -->
<li> <ul class="blockList">
<section class="method-details" id="method-detail"> <li class="blockList"><a name="method.detail">
<h2>Method Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Method Detail</h3>
<section class="detail" id="clone()"> <a name="clone--">
<h3>clone</h3> <!-- -->
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type"><a href="ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></span>&nbsp;<span class="element-name">clone</span>()</div> </a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>protected&nbsp;<a href="../../org/json/ParserConfiguration.html" title="class in org.json">ParserConfiguration</a>&nbsp;clone()</pre>
<div class="block">Provides a new instance of the same configuration.</div> <div class="block">Provides a new instance of the same configuration.</div>
<dl class="notes"> <dl>
<dt>Overrides:</dt> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></code></dd> <dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="isKeepStrings()"> <a name="isKeepStrings--">
<h3>isKeepStrings</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isKeepStrings</span>()</div> </a>
<ul class="blockList">
<li class="blockList">
<h4>isKeepStrings</h4>
<pre>public&nbsp;boolean&nbsp;isKeepStrings()</pre>
<div class="block">When parsing the XML into JSONML, specifies if values should be kept as strings (<code>true</code>), or if <div class="block">When parsing the XML into JSONML, specifies if values should be kept as strings (<code>true</code>), or if
they should try to be guessed into JSON values (numeric, boolean, string)</div> they should try to be guessed into JSON values (numeric, boolean, string).</div>
<dl class="notes"> <dl>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>The <code>keepStrings</code> configuration value.</dd> <dd>The <code>keepStrings</code> configuration value.</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="withKeepStrings(boolean)"> <a name="withKeepStrings-boolean-">
<h3>withKeepStrings</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="type-parameters">&lt;T extends <a href="ParserConfiguration.html" title="class in org.json">ParserConfiguration</a>&gt;</span>&nbsp;<span class="return-type">T</span>&nbsp;<span class="element-name">withKeepStrings</span><wbr><span class="parameters">(boolean&nbsp;newVal)</span></div> </a>
<ul class="blockList">
<li class="blockList">
<h4>withKeepStrings</h4>
<pre>public&nbsp;&lt;T extends <a href="../../org/json/ParserConfiguration.html" title="class in org.json">ParserConfiguration</a>&gt;&nbsp;T&nbsp;withKeepStrings(boolean&nbsp;newVal)</pre>
<div class="block">When parsing the XML into JSONML, specifies if values should be kept as strings (<code>true</code>), or if <div class="block">When parsing the XML into JSONML, specifies if values should be kept as strings (<code>true</code>), or if
they should try to be guessed into JSON values (numeric, boolean, string)</div> they should try to be guessed into JSON values (numeric, boolean, string)</div>
<dl class="notes"> <dl>
<dt>Type Parameters:</dt> <dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - the type of the configuration object</dd> <dd><code>T</code> - the type of the configuration object</dd>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>newVal</code> - new value to use for the <code>keepStrings</code> configuration option.</dd> <dd><code>newVal</code> - new value to use for the <code>keepStrings</code> configuration option.</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>The existing configuration will not be modified. A new configuration is returned.</dd> <dd>The existing configuration will not be modified. A new configuration is returned.</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="getMaxNestingDepth()"> <a name="getMaxNestingDepth--">
<h3>getMaxNestingDepth</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">getMaxNestingDepth</span>()</div> </a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxNestingDepth</h4>
<pre>public&nbsp;int&nbsp;getMaxNestingDepth()</pre>
<div class="block">The maximum nesting depth that the parser will descend before throwing an exception <div class="block">The maximum nesting depth that the parser will descend before throwing an exception
when parsing the XML into JSONML.</div> when parsing an object (e.g. Map, Collection) into JSON-related objects.</div>
<dl class="notes"> <dl>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>the maximum nesting depth set for this configuration</dd> <dd>the maximum nesting depth set for this configuration</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="withMaxNestingDepth(int)"> <a name="withMaxNestingDepth-int-">
<h3>withMaxNestingDepth</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="type-parameters">&lt;T extends <a href="ParserConfiguration.html" title="class in org.json">ParserConfiguration</a>&gt;</span>&nbsp;<span class="return-type">T</span>&nbsp;<span class="element-name">withMaxNestingDepth</span><wbr><span class="parameters">(int&nbsp;maxNestingDepth)</span></div> </a>
<ul class="blockListLast">
<li class="blockList">
<h4>withMaxNestingDepth</h4>
<pre>public&nbsp;&lt;T extends <a href="../../org/json/ParserConfiguration.html" title="class in org.json">ParserConfiguration</a>&gt;&nbsp;T&nbsp;withMaxNestingDepth(int&nbsp;maxNestingDepth)</pre>
<div class="block">Defines the maximum nesting depth that the parser will descend before throwing an exception <div class="block">Defines the maximum nesting depth that the parser will descend before throwing an exception
when parsing the XML into JSONML. The default max nesting depth is 512, which means the parser when parsing an object (e.g. Map, Collection) into JSON-related objects.
will throw a JsonException if the maximum depth is reached. The default max nesting depth is 512, which means the parser will throw a JsonException if
the maximum depth is reached.
Using any negative value as a parameter is equivalent to setting no limit to the nesting depth, Using any negative value as a parameter is equivalent to setting no limit to the nesting depth,
which means the parses will go as deep as the maximum call stack size allows.</div> which means the parses will go as deep as the maximum call stack size allows.</div>
<dl class="notes"> <dl>
<dt>Type Parameters:</dt> <dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - the type of the configuration object</dd> <dd><code>T</code> - the type of the configuration object</dd>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>maxNestingDepth</code> - the maximum nesting depth allowed to the XML parser</dd> <dd><code>maxNestingDepth</code> - the maximum nesting depth allowed to the XML parser</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>The existing configuration will not be modified. A new configuration is returned.</dd> <dd>The existing configuration will not be modified. A new configuration is returned.</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul> </ul>
</section> </li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= --> <!-- ========= END OF CLASS DATA ========= -->
</main> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/json/JSONWriter.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/Property.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/ParserConfiguration.html" target="_top">Frames</a></li>
<li><a href="ParserConfiguration.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

View File

@ -1,195 +1,308 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>Property</title> <title>Property</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="declaration: package: org.json, class: Property">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="class-declaration-page"> <body>
<script type="text/javascript">var evenRowColor = "even-row-color"; <script type="text/javascript"><!--
var oddRowColor = "odd-row-color"; try {
var tableTab = "table-tab"; if (location.href.indexOf('is-external=true') == -1) {
var activeTableTab = "active-table-tab"; parent.document.title="Property";
var pathtoroot = "../../"; }
loadScripts(document, 'script');</script> }
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<li><a href="package-summary.html">Package</a></li> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<li class="nav-bar-cell1-rev">Class</li> <a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li> <li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li> <li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html#class">Help</a></li> <li><a href="../../help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<ul class="navList">
<li><a href="../../org/json/ParserConfiguration.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/StringBuilderWriter.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/Property.html" target="_top">Frames</a></li>
<li><a href="Property.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div> <div>
<ul class="sub-nav-list"> <script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li> <li><a href="#method.summary">Method</a></li>
</ul> </ul>
<ul class="sub-nav-list"> <ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li> <li><a href="#method.detail">Method</a></li>
</ul> </ul>
</div> </div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <a name="skip.navbar.top">
<input type="text" id="search-input" value="search" disabled="disabled"> <!-- -->
<input type="reset" id="reset-button" value="reset" disabled="disabled"> </a></div>
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== --> <!-- ======== START OF CLASS DATA ======== -->
<div class="header"> <div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.json</a></div> <div class="subTitle">org.json</div>
<h1 title="Class Property" class="title">Class Property</h1> <h2 title="Class Property" class="title">Class Property</h2>
</div> </div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> <div class="contentContainer">
<div class="inheritance">org.json.Property</div> <ul class="inheritance">
</div> <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<section class="class-description" id="class-description"> <li>
<ul class="inheritance">
<li>org.json.Property</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr> <hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">Property</span> <br>
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span></div> <pre>public class <span class="typeNameLabel">Property</span>
extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Converts a Property file data into JSONObject and back.</div> <div class="block">Converts a Property file data into JSONObject and back.</div>
</section> </li>
<section class="summary"> </ul>
<ul class="summary-list"> </div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== --> <!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li> <ul class="blockList">
<section class="constructor-summary" id="constructor-summary"> <li class="blockList"><a name="constructor.summary">
<h2>Constructor Summary</h2> <!-- -->
<div class="caption"><span>Constructors</span></div> </a>
<div class="summary-table two-column-summary"> <h3>Constructor Summary</h3>
<div class="table-header col-first">Constructor</div> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<div class="table-header col-last">Description</div> <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">Property</a>()</code></div> <tr>
<div class="col-last even-row-color"> <th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../org/json/Property.html#Property--">Property</a></span>()</code>
<div class="block">Constructs a new Property object.</div> <div class="block">Constructs a new Property object.</div>
</div> </td>
</div> </tr>
</section> </table>
</li> </li>
</ul>
<!-- ========== METHOD SUMMARY =========== --> <!-- ========== METHOD SUMMARY =========== -->
<li> <ul class="blockList">
<section class="method-summary" id="method-summary"> <li class="blockList"><a name="method.summary">
<h2>Method Summary</h2> <!-- -->
<div id="method-summary-table"> </a>
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> <h3>Method Summary</h3>
<div id="method-summary-table.tabpanel" role="tabpanel"> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<div class="table-header col-first">Modifier and Type</div> <tr>
<div class="table-header col-second">Method</div> <th class="colFirst" scope="col">Modifier and Type</th>
<div class="table-header col-last">Description</div> <th class="colLast" scope="col">Method and Description</th>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="JSONObject.html" title="class in org.json">JSONObject</a></code></div> </tr>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#toJSONObject(java.util.Properties)" class="member-name-link">toJSONObject</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Properties.html" title="class or interface in java.util" class="external-link">Properties</a>&nbsp;properties)</code></div> <tr id="i0" class="altColor">
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> <td class="colFirst"><code>static <a href="../../org/json/JSONObject.html" title="class in org.json">JSONObject</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/Property.html#toJSONObject-java.util.Properties-">toJSONObject</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a>&nbsp;properties)</code>
<div class="block">Converts a property file object into a JSONObject.</div> <div class="block">Converts a property file object into a JSONObject.</div>
</div> </td>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Properties.html" title="class or interface in java.util" class="external-link">Properties</a></code></div> </tr>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#toProperties(org.json.JSONObject)" class="member-name-link">toProperties</a><wbr>(<a href="JSONObject.html" title="class in org.json">JSONObject</a>&nbsp;jo)</code></div> <tr id="i1" class="rowColor">
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/Property.html#toProperties-org.json.JSONObject-">toProperties</a></span>(<a href="../../org/json/JSONObject.html" title="class in org.json">JSONObject</a>&nbsp;jo)</code>
<div class="block">Converts the JSONObject into a property file object.</div> <div class="block">Converts the JSONObject into a property file object.</div>
</div> </td>
</div> </tr>
</div> </table>
</div> <ul class="blockList">
<div class="inherited-list"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> <!-- -->
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> </a>
</section> <h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li> </li>
</ul> </ul>
</section> </li>
<section class="details"> </ul>
<ul class="details-list"> </div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== --> <!-- ========= CONSTRUCTOR DETAIL ======== -->
<li> <ul class="blockList">
<section class="constructor-details" id="constructor-detail"> <li class="blockList"><a name="constructor.detail">
<h2>Constructor Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Constructor Detail</h3>
<section class="detail" id="&lt;init&gt;()"> <a name="Property--">
<h3>Property</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">Property</span>()</div> </a>
<ul class="blockListLast">
<li class="blockList">
<h4>Property</h4>
<pre>public&nbsp;Property()</pre>
<div class="block">Constructs a new Property object.</div> <div class="block">Constructs a new Property object.</div>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul>
<!-- ============ METHOD DETAIL ========== --> <!-- ============ METHOD DETAIL ========== -->
<li> <ul class="blockList">
<section class="method-details" id="method-detail"> <li class="blockList"><a name="method.detail">
<h2>Method Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Method Detail</h3>
<section class="detail" id="toJSONObject(java.util.Properties)"> <a name="toJSONObject-java.util.Properties-">
<h3>toJSONObject</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type"><a href="JSONObject.html" title="class in org.json">JSONObject</a></span>&nbsp;<span class="element-name">toJSONObject</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Properties.html" title="class or interface in java.util" class="external-link">Properties</a>&nbsp;properties)</span> </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockList">
<li class="blockList">
<h4>toJSONObject</h4>
<pre>public static&nbsp;<a href="../../org/json/JSONObject.html" title="class in org.json">JSONObject</a>&nbsp;toJSONObject(<a href="https://docs.oracle.com/javase/7/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a>&nbsp;properties)
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block">Converts a property file object into a JSONObject. The property file object is a table of name value pairs.</div> <div class="block">Converts a property file object into a JSONObject. The property file object is a table of name value pairs.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>properties</code> - java.util.Properties</dd> <dd><code>properties</code> - java.util.Properties</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>JSONObject</dd> <dd>JSONObject</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - if a called function has an error</dd> <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - if a called function has an error</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="toProperties(org.json.JSONObject)"> <a name="toProperties-org.json.JSONObject-">
<h3>toProperties</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Properties.html" title="class or interface in java.util" class="external-link">Properties</a></span>&nbsp;<span class="element-name">toProperties</span><wbr><span class="parameters">(<a href="JSONObject.html" title="class in org.json">JSONObject</a>&nbsp;jo)</span> </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockListLast">
<li class="blockList">
<h4>toProperties</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a>&nbsp;toProperties(<a href="../../org/json/JSONObject.html" title="class in org.json">JSONObject</a>&nbsp;jo)
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block">Converts the JSONObject into a property file object.</div> <div class="block">Converts the JSONObject into a property file object.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>jo</code> - JSONObject</dd> <dd><code>jo</code> - JSONObject</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>java.util.Properties</dd> <dd>java.util.Properties</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - if a called function has an error</dd> <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - if a called function has an error</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul> </ul>
</section> </li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= --> <!-- ========= END OF CLASS DATA ========= -->
</main> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/json/ParserConfiguration.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/StringBuilderWriter.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/Property.html" target="_top">Frames</a></li>
<li><a href="Property.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

View File

@ -0,0 +1,509 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>StringBuilderWriter</title>
<meta name="date" content="2025-01-12">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="StringBuilderWriter";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/json/Property.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/XML.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/StringBuilderWriter.html" target="_top">Frames</a></li>
<li><a href="StringBuilderWriter.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.java.io.Writer">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.json</div>
<h2 title="Class StringBuilderWriter" class="title">Class StringBuilderWriter</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">java.io.Writer</a></li>
<li>
<ul class="inheritance">
<li>org.json.StringBuilderWriter</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/io/Flushable.html?is-external=true" title="class or interface in java.io">Flushable</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang">Appendable</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">StringBuilderWriter</span>
extends <a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></pre>
<div class="block">Performance optimised alternative for <a href="https://docs.oracle.com/javase/7/docs/api/java/io/StringWriter.html?is-external=true" title="class or interface in java.io"><code>StringWriter</code></a>
using internally a <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang"><code>StringBuilder</code></a> instead of a <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang"><code>StringBuffer</code></a>.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.java.io.Writer">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;java.io.<a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true#lock" title="class or interface in java.io">lock</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../org/json/StringBuilderWriter.html#StringBuilderWriter--">StringBuilderWriter</a></span>()</code>
<div class="block">Create a new string builder writer using the default initial string-builder buffer size.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../org/json/StringBuilderWriter.html#StringBuilderWriter-int-">StringBuilderWriter</a></span>(int&nbsp;initialSize)</code>
<div class="block">Create a new string builder writer using the specified initial string-builder buffer size.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../org/json/StringBuilderWriter.html" title="class in org.json">StringBuilderWriter</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/StringBuilderWriter.html#append-char-">append</a></span>(char&nbsp;c)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../org/json/StringBuilderWriter.html" title="class in org.json">StringBuilderWriter</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/StringBuilderWriter.html#append-java.lang.CharSequence-">append</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;csq)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../org/json/StringBuilderWriter.html" title="class in org.json">StringBuilderWriter</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/StringBuilderWriter.html#append-java.lang.CharSequence-int-int-">append</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;csq,
int&nbsp;start,
int&nbsp;end)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/StringBuilderWriter.html#close--">close</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/StringBuilderWriter.html#flush--">flush</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/StringBuilderWriter.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/StringBuilderWriter.html#write-char:A-int-int-">write</a></span>(char[]&nbsp;cbuf,
int&nbsp;offset,
int&nbsp;length)</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/StringBuilderWriter.html#write-int-">write</a></span>(int&nbsp;c)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/StringBuilderWriter.html#write-java.lang.String-">write</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/StringBuilderWriter.html#write-java.lang.String-int-int-">write</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
int&nbsp;offset,
int&nbsp;length)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.io.Writer">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.io.<a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true#write-char:A-" title="class or interface in java.io">write</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="StringBuilderWriter--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>StringBuilderWriter</h4>
<pre>public&nbsp;StringBuilderWriter()</pre>
<div class="block">Create a new string builder writer using the default initial string-builder buffer size.</div>
</li>
</ul>
<a name="StringBuilderWriter-int-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>StringBuilderWriter</h4>
<pre>public&nbsp;StringBuilderWriter(int&nbsp;initialSize)</pre>
<div class="block">Create a new string builder writer using the specified initial string-builder buffer size.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>initialSize</code> - The number of <code>char</code> values that will fit into this buffer
before it is automatically expanded</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - If <code>initialSize</code> is negative</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="write-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>write</h4>
<pre>public&nbsp;void&nbsp;write(int&nbsp;c)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true#write-int-" title="class or interface in java.io">write</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></dd>
</dl>
</li>
</ul>
<a name="write-char:A-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>write</h4>
<pre>public&nbsp;void&nbsp;write(char[]&nbsp;cbuf,
int&nbsp;offset,
int&nbsp;length)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true#write-char:A-int-int-" title="class or interface in java.io">write</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></dd>
</dl>
</li>
</ul>
<a name="write-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>write</h4>
<pre>public&nbsp;void&nbsp;write(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true#write-java.lang.String-" title="class or interface in java.io">write</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></dd>
</dl>
</li>
</ul>
<a name="write-java.lang.String-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>write</h4>
<pre>public&nbsp;void&nbsp;write(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
int&nbsp;offset,
int&nbsp;length)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true#write-java.lang.String-int-int-" title="class or interface in java.io">write</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></dd>
</dl>
</li>
</ul>
<a name="append-java.lang.CharSequence-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>append</h4>
<pre>public&nbsp;<a href="../../org/json/StringBuilderWriter.html" title="class in org.json">StringBuilderWriter</a>&nbsp;append(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;csq)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true#append-java.lang.CharSequence-" title="class or interface in java.lang">append</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang">Appendable</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true#append-java.lang.CharSequence-" title="class or interface in java.io">append</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></dd>
</dl>
</li>
</ul>
<a name="append-java.lang.CharSequence-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>append</h4>
<pre>public&nbsp;<a href="../../org/json/StringBuilderWriter.html" title="class in org.json">StringBuilderWriter</a>&nbsp;append(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a>&nbsp;csq,
int&nbsp;start,
int&nbsp;end)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true#append-java.lang.CharSequence-int-int-" title="class or interface in java.lang">append</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang">Appendable</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true#append-java.lang.CharSequence-int-int-" title="class or interface in java.io">append</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></dd>
</dl>
</li>
</ul>
<a name="append-char-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>append</h4>
<pre>public&nbsp;<a href="../../org/json/StringBuilderWriter.html" title="class in org.json">StringBuilderWriter</a>&nbsp;append(char&nbsp;c)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true#append-char-" title="class or interface in java.lang">append</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang">Appendable</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true#append-char-" title="class or interface in java.io">append</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="flush--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>flush</h4>
<pre>public&nbsp;void&nbsp;flush()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Flushable.html?is-external=true#flush--" title="class or interface in java.io">flush</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Flushable.html?is-external=true" title="class or interface in java.io">Flushable</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true#flush--" title="class or interface in java.io">flush</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></dd>
</dl>
</li>
</ul>
<a name="close--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>close</h4>
<pre>public&nbsp;void&nbsp;close()
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true#close--" title="class or interface in java.io">close</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true#close--" title="class or interface in java.lang">close</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true#close--" title="class or interface in java.io">close</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/json/Property.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/XML.html" title="class in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/StringBuilderWriter.html" target="_top">Frames</a></li>
<li><a href="StringBuilderWriter.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.java.io.Writer">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,373 +1,516 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>XMLTokener</title> <title>XMLTokener</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="declaration: package: org.json, class: XMLTokener">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="class-declaration-page"> <body>
<script type="text/javascript">var evenRowColor = "even-row-color"; <script type="text/javascript"><!--
var oddRowColor = "odd-row-color"; try {
var tableTab = "table-tab"; if (location.href.indexOf('is-external=true') == -1) {
var activeTableTab = "active-table-tab"; parent.document.title="XMLTokener";
var pathtoroot = "../../"; }
loadScripts(document, 'script');</script> }
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<li><a href="package-summary.html">Package</a></li> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<li class="nav-bar-cell1-rev">Class</li> <a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li> <li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li> <li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html#class">Help</a></li> <li><a href="../../help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<ul class="navList">
<li><a href="../../org/json/XMLParserConfiguration.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/XMLXsiTypeConverter.html" title="interface in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/XMLTokener.html" target="_top">Frames</a></li>
<li><a href="XMLTokener.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div> <div>
<ul class="sub-nav-list"> <script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field-summary">Field</a>&nbsp;|&nbsp;</li> <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li> <li><a href="#method.summary">Method</a></li>
</ul> </ul>
<ul class="sub-nav-list"> <ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li><a href="#field-detail">Field</a>&nbsp;|&nbsp;</li> <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li> <li><a href="#method.detail">Method</a></li>
</ul> </ul>
</div> </div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <a name="skip.navbar.top">
<input type="text" id="search-input" value="search" disabled="disabled"> <!-- -->
<input type="reset" id="reset-button" value="reset" disabled="disabled"> </a></div>
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== --> <!-- ======== START OF CLASS DATA ======== -->
<div class="header"> <div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.json</a></div> <div class="subTitle">org.json</div>
<h1 title="Class XMLTokener" class="title">Class XMLTokener</h1> <h2 title="Class XMLTokener" class="title">Class XMLTokener</h2>
</div> </div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> <div class="contentContainer">
<div class="inheritance"><a href="JSONTokener.html" title="class in org.json">org.json.JSONTokener</a> <ul class="inheritance">
<div class="inheritance">org.json.XMLTokener</div> <li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
</div> <li>
</div> <ul class="inheritance">
<section class="class-description" id="class-description"> <li><a href="../../org/json/JSONTokener.html" title="class in org.json">org.json.JSONTokener</a></li>
<li>
<ul class="inheritance">
<li>org.json.XMLTokener</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr> <hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">XMLTokener</span> <br>
<span class="extends-implements">extends <a href="JSONTokener.html" title="class in org.json">JSONTokener</a></span></div> <pre>public class <span class="typeNameLabel">XMLTokener</span>
extends <a href="../../org/json/JSONTokener.html" title="class in org.json">JSONTokener</a></pre>
<div class="block">The XMLTokener extends the JSONTokener to provide additional methods <div class="block">The XMLTokener extends the JSONTokener to provide additional methods
for the parsing of XML texts.</div> for the parsing of XML texts.</div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- =========== FIELD SUMMARY =========== -->
<li>
<section class="field-summary" id="field-summary">
<h2>Field Summary</h2>
<div class="caption"><span>Fields</span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Field</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>static final <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/HashMap.html" title="class or interface in java.util" class="external-link">HashMap</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Character.html" title="class or interface in java.lang" class="external-link">Character</a>&gt;</code></div>
<div class="col-second even-row-color"><code><a href="#entity" class="member-name-link">entity</a></code></div>
<div class="col-last even-row-color">
<div class="block">The table of entity values.</div>
</div>
</div>
</section>
</li>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li>
<section class="constructor-summary" id="constructor-summary">
<h2>Constructor Summary</h2>
<div class="caption"><span>Constructors</span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(java.io.Reader)" class="member-name-link">XMLTokener</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/Reader.html" title="class or interface in java.io" class="external-link">Reader</a>&nbsp;r)</code></div>
<div class="col-last even-row-color">
<div class="block">Construct an XMLTokener from a Reader.</div>
</div>
<div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(java.io.Reader,org.json.XMLParserConfiguration)" class="member-name-link">XMLTokener</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/Reader.html" title="class or interface in java.io" class="external-link">Reader</a>&nbsp;r,
<a href="XMLParserConfiguration.html" title="class in org.json">XMLParserConfiguration</a>&nbsp;configuration)</code></div>
<div class="col-last odd-row-color">
<div class="block">Construct an XMLTokener from a Reader and an XMLParserConfiguration.</div>
</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(java.lang.String)" class="member-name-link">XMLTokener</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;s)</code></div>
<div class="col-last even-row-color">
<div class="block">Construct an XMLTokener from a string.</div>
</div>
</div>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#nextCDATA()" class="member-name-link">nextCDATA</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Get the text in the CDATA block.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#nextContent()" class="member-name-link">nextContent</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Get the next XML outer token, trimming whitespace.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#nextEntity(char)" class="member-name-link">nextEntity</a><wbr>(char&nbsp;ampersand)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block"><code>
Return the next entity. These entities are translated to Characters:
&amp;amp; &amp;apos; &amp;gt; &amp;lt; &amp;quot;.
</code></div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#nextMeta()" class="member-name-link">nextMeta</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block"><code>
Returns the next XML meta token. This is used for skipping over &lt;!...&gt;
and &lt;?...?&gt; structures.
</code></div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#nextToken()" class="member-name-link">nextToken</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block"><code>
Get the next XML Token. These tokens are found inside of angle
brackets. It may be one of these characters: / &gt; = ! ? or it
may be a string wrapped in single quotes or double quotes, or it may be a
name.
</code></div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#skipPast(java.lang.String)" class="member-name-link">skipPast</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;to)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Skip characters until past the requested string.</div>
</div>
</div>
</div>
</div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-org.json.JSONTokener">Methods inherited from class&nbsp;org.json.<a href="JSONTokener.html" title="class in org.json">JSONTokener</a></h3>
<code><a href="JSONTokener.html#back()">back</a>, <a href="JSONTokener.html#close()">close</a>, <a href="JSONTokener.html#dehexchar(char)">dehexchar</a>, <a href="JSONTokener.html#end()">end</a>, <a href="JSONTokener.html#getPrevious()">getPrevious</a>, <a href="JSONTokener.html#more()">more</a>, <a href="JSONTokener.html#next()">next</a>, <a href="JSONTokener.html#next(char)">next</a>, <a href="JSONTokener.html#next(int)">next</a>, <a href="JSONTokener.html#nextClean()">nextClean</a>, <a href="JSONTokener.html#nextString(char)">nextString</a>, <a href="JSONTokener.html#nextTo(char)">nextTo</a>, <a href="JSONTokener.html#nextTo(java.lang.String)">nextTo</a>, <a href="JSONTokener.html#nextValue()">nextValue</a>, <a href="JSONTokener.html#skipTo(char)">skipTo</a>, <a href="JSONTokener.html#syntaxError(java.lang.String)">syntaxError</a>, <a href="JSONTokener.html#syntaxError(java.lang.String,java.lang.Throwable)">syntaxError</a>, <a href="JSONTokener.html#toString()">toString</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
</section>
</li> </li>
</ul> </ul>
</section> </div>
<section class="details"> <div class="summary">
<ul class="details-list"> <ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang">Character</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/XMLTokener.html#entity">entity</a></span></code>
<div class="block">The table of entity values.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../org/json/XMLTokener.html#XMLTokener-java.io.Reader-">XMLTokener</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a>&nbsp;r)</code>
<div class="block">Construct an XMLTokener from a Reader.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../org/json/XMLTokener.html#XMLTokener-java.io.Reader-org.json.XMLParserConfiguration-">XMLTokener</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a>&nbsp;r,
<a href="../../org/json/XMLParserConfiguration.html" title="class in org.json">XMLParserConfiguration</a>&nbsp;configuration)</code>
<div class="block">Construct an XMLTokener from a Reader and an XMLParserConfiguration.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../org/json/XMLTokener.html#XMLTokener-java.lang.String-">XMLTokener</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>
<div class="block">Construct an XMLTokener from a string.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/XMLTokener.html#nextCDATA--">nextCDATA</a></span>()</code>
<div class="block">Get the text in the CDATA block.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/XMLTokener.html#nextContent--">nextContent</a></span>()</code>
<div class="block">Get the next XML outer token, trimming whitespace.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/XMLTokener.html#nextEntity-char-">nextEntity</a></span>(char&nbsp;ampersand)</code>
<div class="block">{@code
Return the next entity.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/XMLTokener.html#nextMeta--">nextMeta</a></span>()</code>
<div class="block">{@code
Returns the next XML meta token.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/XMLTokener.html#nextToken--">nextToken</a></span>()</code>
<div class="block">{@code
Get the next XML Token.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/XMLTokener.html#skipPast-java.lang.String-">skipPast</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;to)</code>
<div class="block">Skip characters until past the requested string.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.json.JSONTokener">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.json.<a href="../../org/json/JSONTokener.html" title="class in org.json">JSONTokener</a></h3>
<code><a href="../../org/json/JSONTokener.html#back--">back</a>, <a href="../../org/json/JSONTokener.html#close--">close</a>, <a href="../../org/json/JSONTokener.html#dehexchar-char-">dehexchar</a>, <a href="../../org/json/JSONTokener.html#end--">end</a>, <a href="../../org/json/JSONTokener.html#getJsonParserConfiguration--">getJsonParserConfiguration</a>, <a href="../../org/json/JSONTokener.html#getPrevious--">getPrevious</a>, <a href="../../org/json/JSONTokener.html#more--">more</a>, <a href="../../org/json/JSONTokener.html#next--">next</a>, <a href="../../org/json/JSONTokener.html#next-char-">next</a>, <a href="../../org/json/JSONTokener.html#next-int-">next</a>, <a href="../../org/json/JSONTokener.html#nextClean--">nextClean</a>, <a href="../../org/json/JSONTokener.html#nextString-char-">nextString</a>, <a href="../../org/json/JSONTokener.html#nextTo-char-">nextTo</a>, <a href="../../org/json/JSONTokener.html#nextTo-java.lang.String-">nextTo</a>, <a href="../../org/json/JSONTokener.html#nextValue--">nextValue</a>, <a href="../../org/json/JSONTokener.html#setJsonParserConfiguration-org.json.JSONParserConfiguration-">setJsonParserConfiguration</a>, <a href="../../org/json/JSONTokener.html#skipTo-char-">skipTo</a>, <a href="../../org/json/JSONTokener.html#syntaxError-java.lang.String-">syntaxError</a>, <a href="../../org/json/JSONTokener.html#syntaxError-java.lang.String-java.lang.Throwable-">syntaxError</a>, <a href="../../org/json/JSONTokener.html#toString--">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== --> <!-- ============ FIELD DETAIL =========== -->
<li> <ul class="blockList">
<section class="field-details" id="field-detail"> <li class="blockList"><a name="field.detail">
<h2>Field Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Field Detail</h3>
<section class="detail" id="entity"> <a name="entity">
<h3>entity</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/HashMap.html" title="class or interface in java.util" class="external-link">HashMap</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Character.html" title="class or interface in java.lang" class="external-link">Character</a>&gt;</span>&nbsp;<span class="element-name">entity</span></div> </a>
<ul class="blockListLast">
<li class="blockList">
<h4>entity</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang">Character</a>&gt; entity</pre>
<div class="block">The table of entity values. It initially contains Character values for <div class="block">The table of entity values. It initially contains Character values for
amp, apos, gt, lt, quot.</div> amp, apos, gt, lt, quot.</div>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== --> <!-- ========= CONSTRUCTOR DETAIL ======== -->
<li> <ul class="blockList">
<section class="constructor-details" id="constructor-detail"> <li class="blockList"><a name="constructor.detail">
<h2>Constructor Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Constructor Detail</h3>
<section class="detail" id="&lt;init&gt;(java.io.Reader)"> <a name="XMLTokener-java.io.Reader-">
<h3>XMLTokener</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">XMLTokener</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/Reader.html" title="class or interface in java.io" class="external-link">Reader</a>&nbsp;r)</span></div> </a>
<ul class="blockList">
<li class="blockList">
<h4>XMLTokener</h4>
<pre>public&nbsp;XMLTokener(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a>&nbsp;r)</pre>
<div class="block">Construct an XMLTokener from a Reader.</div> <div class="block">Construct an XMLTokener from a Reader.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>r</code> - A source reader.</dd> <dd><code>r</code> - A source reader.</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="&lt;init&gt;(java.lang.String)"> <a name="XMLTokener-java.lang.String-">
<h3>XMLTokener</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">XMLTokener</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;s)</span></div> </a>
<ul class="blockList">
<li class="blockList">
<h4>XMLTokener</h4>
<pre>public&nbsp;XMLTokener(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
<div class="block">Construct an XMLTokener from a string.</div> <div class="block">Construct an XMLTokener from a string.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>s</code> - A source string.</dd> <dd><code>s</code> - A source string.</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="&lt;init&gt;(java.io.Reader,org.json.XMLParserConfiguration)"> <a name="XMLTokener-java.io.Reader-org.json.XMLParserConfiguration-">
<h3>XMLTokener</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">XMLTokener</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/Reader.html" title="class or interface in java.io" class="external-link">Reader</a>&nbsp;r, </a>
<a href="XMLParserConfiguration.html" title="class in org.json">XMLParserConfiguration</a>&nbsp;configuration)</span></div> <ul class="blockListLast">
<li class="blockList">
<h4>XMLTokener</h4>
<pre>public&nbsp;XMLTokener(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a>&nbsp;r,
<a href="../../org/json/XMLParserConfiguration.html" title="class in org.json">XMLParserConfiguration</a>&nbsp;configuration)</pre>
<div class="block">Construct an XMLTokener from a Reader and an XMLParserConfiguration.</div> <div class="block">Construct an XMLTokener from a Reader and an XMLParserConfiguration.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>r</code> - A source reader.</dd> <dd><code>r</code> - A source reader.</dd>
<dd><code>configuration</code> - the configuration that can be used to set certain flags</dd> <dd><code>configuration</code> - the configuration that can be used to set certain flags</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul>
<!-- ============ METHOD DETAIL ========== --> <!-- ============ METHOD DETAIL ========== -->
<li> <ul class="blockList">
<section class="method-details" id="method-detail"> <li class="blockList"><a name="method.detail">
<h2>Method Details</h2> <!-- -->
<ul class="member-list"> </a>
<li> <h3>Method Detail</h3>
<section class="detail" id="nextCDATA()"> <a name="nextCDATA--">
<h3>nextCDATA</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">nextCDATA</span>() </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockList">
<li class="blockList">
<h4>nextCDATA</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;nextCDATA()
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block">Get the text in the CDATA block.</div> <div class="block">Get the text in the CDATA block.</div>
<dl class="notes"> <dl>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>The string up to the <code>]]&gt;</code>.</dd> <dd>The string up to the <code>]]&gt;</code>.</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - If the <code>]]&gt;</code> is not found.</dd> <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - If the <code>]]&gt;</code> is not found.</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="nextContent()"> <a name="nextContent--">
<h3>nextContent</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span>&nbsp;<span class="element-name">nextContent</span>() </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockList">
<li class="blockList">
<h4>nextContent</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;nextContent()
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block">Get the next XML outer token, trimming whitespace. There are two kinds <div class="block">Get the next XML outer token, trimming whitespace. There are two kinds
of tokens: the <pre><code> '&lt;' </code></pre> character which begins a markup of tokens: the <pre><code> '&lt;' </code></pre> character which begins a markup
tag, and the content tag, and the content
text between markup tags.</div> text between markup tags.</div>
<dl class="notes"> <dl>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>A string, or a <pre><code> '&lt;' </code></pre> Character, or null if <dd>A string, or a <pre><code> '&lt;' </code></pre> Character, or null if
there is no more source text.</dd> there is no more source text.</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - if a called function has an error</dd> <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - if a called function has an error</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="nextEntity(char)"> <a name="nextEntity-char-">
<h3>nextEntity</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span>&nbsp;<span class="element-name">nextEntity</span><wbr><span class="parameters">(char&nbsp;ampersand)</span> </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockList">
<li class="blockList">
<h4>nextEntity</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;nextEntity(char&nbsp;ampersand)
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block"><pre><code> <div class="block"><pre><code>
Return the next entity. These entities are translated to Characters: Return the next entity. These entities are translated to Characters:
&amp;amp; &amp;apos; &amp;gt; &amp;lt; &amp;quot;. &amp;amp; &amp;apos; &amp;gt; &amp;lt; &amp;quot;.
</code></pre></div> </code></pre></div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>ampersand</code> - An ampersand character.</dd> <dd><code>ampersand</code> - An ampersand character.</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>A Character or an entity String if the entity is not recognized.</dd> <dd>A Character or an entity String if the entity is not recognized.</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - If missing ';' in XML entity.</dd> <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - If missing ';' in XML entity.</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="nextMeta()"> <a name="nextMeta--">
<h3>nextMeta</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span>&nbsp;<span class="element-name">nextMeta</span>() </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockList">
<li class="blockList">
<h4>nextMeta</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;nextMeta()
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block"><pre><code> <div class="block"><pre><code>
Returns the next XML meta token. This is used for skipping over &lt;!...&gt; Returns the next XML meta token. This is used for skipping over &lt;!...&gt;
and &lt;?...?&gt; structures. and &lt;?...?&gt; structures.
</code></pre></div> </code></pre></div>
<dl class="notes"> <dl>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd><pre><code> Syntax characters (&lt; &gt; / = ! ?) are returned as <dd><pre><code> Syntax characters (&lt; &gt; / = ! ?) are returned as
Character, and strings and names are returned as Boolean. We don't care Character, and strings and names are returned as Boolean. We don't care
what the values actually are. what the values actually are.
</code></pre></dd> </code></pre></dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - If a string is not properly closed or if the XML <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - If a string is not properly closed or if the XML
is badly structured.</dd> is badly structured.</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="nextToken()"> <a name="nextToken--">
<h3>nextToken</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span>&nbsp;<span class="element-name">nextToken</span>() </a>
throws <span class="exceptions"><a href="JSONException.html" title="class in org.json">JSONException</a></span></div> <ul class="blockList">
<li class="blockList">
<h4>nextToken</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;nextToken()
throws <a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></pre>
<div class="block"><pre><code> <div class="block"><pre><code>
Get the next XML Token. These tokens are found inside of angle Get the next XML Token. These tokens are found inside of angle
brackets. It may be one of these characters: / &gt; = ! ? or it brackets. It may be one of these characters: / &gt; = ! ? or it
may be a string wrapped in single quotes or double quotes, or it may be a may be a string wrapped in single quotes or double quotes, or it may be a
name. name.
</code></pre></div> </code></pre></div>
<dl class="notes"> <dl>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>a String or a Character.</dd> <dd>a String or a Character.</dd>
<dt>Throws:</dt> <dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="JSONException.html" title="class in org.json">JSONException</a></code> - If the XML is not well formed.</dd> <dd><code><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></code> - If the XML is not well formed.</dd>
</dl> </dl>
</section>
</li> </li>
<li> </ul>
<section class="detail" id="skipPast(java.lang.String)"> <a name="skipPast-java.lang.String-">
<h3>skipPast</h3> <!-- -->
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">skipPast</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;to)</span></div> </a>
<ul class="blockListLast">
<li class="blockList">
<h4>skipPast</h4>
<pre>public&nbsp;void&nbsp;skipPast(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;to)</pre>
<div class="block">Skip characters until past the requested string. <div class="block">Skip characters until past the requested string.
If it is not found, we are left at the end of the source with a result of false.</div> If it is not found, we are left at the end of the source with a result of false.</div>
<dl class="notes"> <dl>
<dt>Parameters:</dt> <dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>to</code> - A string to skip past.</dd> <dd><code>to</code> - A string to skip past.</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul> </ul>
</section> </li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= --> <!-- ========= END OF CLASS DATA ========= -->
</main> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/json/XMLParserConfiguration.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../org/json/XMLXsiTypeConverter.html" title="interface in org.json"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/XMLTokener.html" target="_top">Frames</a></li>
<li><a href="XMLTokener.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

View File

@ -1,83 +1,109 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>XMLXsiTypeConverter</title> <title>XMLXsiTypeConverter</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="declaration: package: org.json, interface: XMLXsiTypeConverter">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="class-declaration-page"> <body>
<script type="text/javascript">var evenRowColor = "even-row-color"; <script type="text/javascript"><!--
var oddRowColor = "odd-row-color"; try {
var tableTab = "table-tab"; if (location.href.indexOf('is-external=true') == -1) {
var activeTableTab = "active-table-tab"; parent.document.title="XMLXsiTypeConverter";
var pathtoroot = "../../"; }
loadScripts(document, 'script');</script> }
catch(err) {
}
//-->
var methods = {"i0":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<li><a href="package-summary.html">Package</a></li> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<li class="nav-bar-cell1-rev">Class</li> <a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li> <li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li> <li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html#class">Help</a></li> <li><a href="../../help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<ul class="navList">
<li><a href="../../org/json/XMLTokener.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/XMLXsiTypeConverter.html" target="_top">Frames</a></li>
<li><a href="XMLXsiTypeConverter.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div> <div>
<ul class="sub-nav-list"> <script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li> <li><a href="#method.summary">Method</a></li>
</ul> </ul>
<ul class="sub-nav-list"> <ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li> <li><a href="#method.detail">Method</a></li>
</ul> </ul>
</div> </div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <a name="skip.navbar.top">
<input type="text" id="search-input" value="search" disabled="disabled"> <!-- -->
<input type="reset" id="reset-button" value="reset" disabled="disabled"> </a></div>
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== --> <!-- ======== START OF CLASS DATA ======== -->
<div class="header"> <div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.json</a></div> <div class="subTitle">org.json</div>
<h1 title="Interface XMLXsiTypeConverter" class="title">Interface XMLXsiTypeConverter&lt;T&gt;</h1> <h2 title="Interface XMLXsiTypeConverter" class="title">Interface XMLXsiTypeConverter&lt;T&gt;</h2>
</div> </div>
<section class="class-description" id="class-description"> <div class="contentContainer">
<dl class="notes"> <div class="description">
<dt>Type Parameters:</dt> <ul class="blockList">
<li class="blockList">
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - return type of convert method</dd> <dd><code>T</code> - return type of convert method</dd>
</dl> </dl>
<hr> <hr>
<div class="type-signature"><span class="modifiers">public interface </span><span class="element-name type-name-label">XMLXsiTypeConverter&lt;T&gt;</span></div> <br>
<pre>public interface <span class="typeNameLabel">XMLXsiTypeConverter&lt;T&gt;</span></pre>
<div class="block">Type conversion configuration interface to be used with xsi:type attributes. <div class="block">Type conversion configuration interface to be used with xsi:type attributes.
<pre> <pre>
<b>XML Sample</b> <b>XML Sample</b>
@ -112,60 +138,127 @@ loadScripts(document, 'script');</script>
}); });
</code> </code>
</pre></div> </pre></div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab3" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab3', 3)" class="table-tab">Abstract Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="XMLXsiTypeConverter.html" title="type parameter in XMLXsiTypeConverter">T</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#convert(java.lang.String)" class="member-name-link">convert</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Converts an XML xsi:type attribute value to the specified type <code>T</code>.</div>
</div>
</div>
</div>
</div>
</section>
</li> </li>
</ul> </ul>
</section> </div>
<section class="details"> <div class="summary">
<ul class="details-list"> <ul class="blockList">
<!-- ============ METHOD DETAIL ========== --> <li class="blockList">
<li> <!-- ========== METHOD SUMMARY =========== -->
<section class="method-details" id="method-detail"> <ul class="blockList">
<h2>Method Details</h2> <li class="blockList"><a name="method.summary">
<ul class="member-list"> <!-- -->
<li> </a>
<section class="detail" id="convert(java.lang.String)"> <h3>Method Summary</h3>
<h3>convert</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<div class="member-signature"><span class="return-type"><a href="XMLXsiTypeConverter.html" title="type parameter in XMLXsiTypeConverter">T</a></span>&nbsp;<span class="element-name">convert</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</span></div> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../org/json/XMLXsiTypeConverter.html" title="type parameter in XMLXsiTypeConverter">T</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../org/json/XMLXsiTypeConverter.html#convert-java.lang.String-">convert</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</code>
<div class="block">Converts an XML xsi:type attribute value to the specified type <code>T</code>.</div> <div class="block">Converts an XML xsi:type attribute value to the specified type <code>T</code>.</div>
<dl class="notes"> </td>
<dt>Parameters:</dt> </tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="convert-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>convert</h4>
<pre><a href="../../org/json/XMLXsiTypeConverter.html" title="type parameter in XMLXsiTypeConverter">T</a>&nbsp;convert(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</pre>
<div class="block">Converts an XML xsi:type attribute value to the specified type <code>T</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - The string representation of the XML xsi:type attribute value to be converted.</dd> <dd><code>value</code> - The string representation of the XML xsi:type attribute value to be converted.</dd>
<dt>Returns:</dt> <dt><span class="returnLabel">Returns:</span></dt>
<dd>An object of type <code>T</code> representing the converted value.</dd> <dd>An object of type <code>T</code> representing the converted value.</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul> </ul>
</section> </li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= --> <!-- ========= END OF CLASS DATA ========= -->
</main> <!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li><a href="../../org/json/XMLTokener.html" title="class in org.json"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/XMLXsiTypeConverter.html" target="_top">Frames</a></li>
<li><a href="XMLXsiTypeConverter.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

View File

@ -0,0 +1,55 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>org.json</title>
<meta name="date" content="2025-01-12">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<h1 class="bar"><a href="../../org/json/package-summary.html" target="classFrame">org.json</a></h1>
<div class="indexContainer">
<h2 title="Interfaces">Interfaces</h2>
<ul title="Interfaces">
<li><a href="JSONString.html" title="interface in org.json" target="classFrame"><span class="interfaceName">JSONString</span></a></li>
<li><a href="XMLXsiTypeConverter.html" title="interface in org.json" target="classFrame"><span class="interfaceName">XMLXsiTypeConverter</span></a></li>
</ul>
<h2 title="Classes">Classes</h2>
<ul title="Classes">
<li><a href="CDL.html" title="class in org.json" target="classFrame">CDL</a></li>
<li><a href="Cookie.html" title="class in org.json" target="classFrame">Cookie</a></li>
<li><a href="CookieList.html" title="class in org.json" target="classFrame">CookieList</a></li>
<li><a href="HTTP.html" title="class in org.json" target="classFrame">HTTP</a></li>
<li><a href="HTTPTokener.html" title="class in org.json" target="classFrame">HTTPTokener</a></li>
<li><a href="JSONArray.html" title="class in org.json" target="classFrame">JSONArray</a></li>
<li><a href="JSONML.html" title="class in org.json" target="classFrame">JSONML</a></li>
<li><a href="JSONMLParserConfiguration.html" title="class in org.json" target="classFrame">JSONMLParserConfiguration</a></li>
<li><a href="JSONObject.html" title="class in org.json" target="classFrame">JSONObject</a></li>
<li><a href="JSONParserConfiguration.html" title="class in org.json" target="classFrame">JSONParserConfiguration</a></li>
<li><a href="JSONPointer.html" title="class in org.json" target="classFrame">JSONPointer</a></li>
<li><a href="JSONPointer.Builder.html" title="class in org.json" target="classFrame">JSONPointer.Builder</a></li>
<li><a href="JSONStringer.html" title="class in org.json" target="classFrame">JSONStringer</a></li>
<li><a href="JSONTokener.html" title="class in org.json" target="classFrame">JSONTokener</a></li>
<li><a href="JSONWriter.html" title="class in org.json" target="classFrame">JSONWriter</a></li>
<li><a href="ParserConfiguration.html" title="class in org.json" target="classFrame">ParserConfiguration</a></li>
<li><a href="Property.html" title="class in org.json" target="classFrame">Property</a></li>
<li><a href="StringBuilderWriter.html" title="class in org.json" target="classFrame">StringBuilderWriter</a></li>
<li><a href="XML.html" title="class in org.json" target="classFrame">XML</a></li>
<li><a href="XMLParserConfiguration.html" title="class in org.json" target="classFrame">XMLParserConfiguration</a></li>
<li><a href="XMLTokener.html" title="class in org.json" target="classFrame">XMLTokener</a></li>
</ul>
<h2 title="Exceptions">Exceptions</h2>
<ul title="Exceptions">
<li><a href="JSONException.html" title="class in org.json" target="classFrame">JSONException</a></li>
<li><a href="JSONPointerException.html" title="class in org.json" target="classFrame">JSONPointerException</a></li>
</ul>
<h2 title="Annotation Types">Annotation Types</h2>
<ul title="Annotation Types">
<li><a href="JSONPropertyIgnore.html" title="annotation in org.json" target="classFrame">JSONPropertyIgnore</a></li>
<li><a href="JSONPropertyName.html" title="annotation in org.json" target="classFrame">JSONPropertyName</a></li>
</ul>
</div>
</body>
</html>

View File

@ -1,205 +1,345 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>org.json</title> <title>org.json</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="declaration: package: org.json">
<meta name="generator" content="javadoc/PackageWriterImpl">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="package-declaration-page"> <body>
<script type="text/javascript">var evenRowColor = "even-row-color"; <script type="text/javascript"><!--
var oddRowColor = "odd-row-color"; try {
var tableTab = "table-tab"; if (location.href.indexOf('is-external=true') == -1) {
var activeTableTab = "active-table-tab"; parent.document.title="org.json";
var pathtoroot = "../../"; }
loadScripts(document, 'script');</script> }
catch(err) {
}
//-->
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<li class="nav-bar-cell1-rev">Package</li> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li>Class</li> <li>Class</li>
<li><a href="package-tree.html">Tree</a></li> <li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li> <li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html#package">Help</a></li> <li><a href="../../help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Package</li>
<li>Next&nbsp;Package</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div> <div>
<ul class="sub-nav-list"> <script type="text/javascript"><!--
<li>Package:&nbsp;</li> allClassesLink = document.getElementById("allclasses_navbar_top");
<li>Description&nbsp;|&nbsp;</li> if(window==top) {
<li>Related Packages&nbsp;|&nbsp;</li> allClassesLink.style.display = "block";
<li><a href="#class-summary">Classes and Interfaces</a></li> }
</ul> else {
</div> allClassesLink.style.display = "none";
<div class="nav-list-search"><label for="search-input">SEARCH:</label> }
<input type="text" id="search-input" value="search" disabled="disabled"> //-->
<input type="reset" id="reset-button" value="reset" disabled="disabled"> </script>
</div>
</div> </div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<div class="header"> <div class="header">
<h1 title="Package org.json" class="title">Package org.json</h1> <h1 title="Package" class="title">Package&nbsp;org.json</h1>
</div> </div>
<hr> <div class="contentContainer">
<div class="package-signature">package <span class="element-name">org.json</span></div> <ul class="blockList">
<section class="summary"> <li class="blockList">
<ul class="summary-list"> <table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation">
<li> <caption><span>Interface Summary</span><span class="tabEnd">&nbsp;</span></caption>
<div id="class-summary"> <tr>
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="class-summary-tab0" role="tab" aria-selected="true" aria-controls="class-summary.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('class-summary', 'class-summary', 2)" class="active-table-tab">All Classes and Interfaces</button><button id="class-summary-tab1" role="tab" aria-selected="false" aria-controls="class-summary.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('class-summary', 'class-summary-tab1', 2)" class="table-tab">Interfaces</button><button id="class-summary-tab2" role="tab" aria-selected="false" aria-controls="class-summary.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('class-summary', 'class-summary-tab2', 2)" class="table-tab">Classes</button><button id="class-summary-tab5" role="tab" aria-selected="false" aria-controls="class-summary.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('class-summary', 'class-summary-tab5', 2)" class="table-tab">Exceptions</button><button id="class-summary-tab7" role="tab" aria-selected="false" aria-controls="class-summary.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('class-summary', 'class-summary-tab7', 2)" class="table-tab">Annotation Interfaces</button></div> <th class="colFirst" scope="col">Interface</th>
<div id="class-summary.tabpanel" role="tabpanel"> <th class="colLast" scope="col">Description</th>
<div class="summary-table two-column-summary" aria-labelledby="class-summary-tab0"> </tr>
<div class="table-header col-first">Class</div> <tbody>
<div class="table-header col-last">Description</div> <tr class="altColor">
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="CDL.html" title="class in org.json">CDL</a></div> <td class="colFirst"><a href="../../org/json/JSONString.html" title="interface in org.json">JSONString</a></td>
<div class="col-last even-row-color class-summary class-summary-tab2"> <td class="colLast">
<div class="block">This provides static methods to convert comma (or otherwise) delimited text into a
JSONArray, and to convert a JSONArray into comma (or otherwise) delimited text.</div>
</div>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="Cookie.html" title="class in org.json">Cookie</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab2">
<div class="block">Convert a web browser cookie specification to a JSONObject and back.</div>
</div>
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="CookieList.html" title="class in org.json">CookieList</a></div>
<div class="col-last even-row-color class-summary class-summary-tab2">
<div class="block">Convert a web browser cookie list string to a JSONObject and back.</div>
</div>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="HTTP.html" title="class in org.json">HTTP</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab2">
<div class="block">Convert an HTTP header to a JSONObject and back.</div>
</div>
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="HTTPTokener.html" title="class in org.json">HTTPTokener</a></div>
<div class="col-last even-row-color class-summary class-summary-tab2">
<div class="block">The HTTPTokener extends the JSONTokener to provide additional methods
for the parsing of HTTP headers.</div>
</div>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="JSONArray.html" title="class in org.json">JSONArray</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab2">
<div class="block">A JSONArray is an ordered sequence of values.</div>
</div>
<div class="col-first even-row-color class-summary class-summary-tab5"><a href="JSONException.html" title="class in org.json">JSONException</a></div>
<div class="col-last even-row-color class-summary class-summary-tab5">
<div class="block">The JSONException is thrown by the JSON.org classes when things are amiss.</div>
</div>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="JSONML.html" title="class in org.json">JSONML</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab2">
<div class="block">This provides static methods to convert an XML text into a JSONArray or
JSONObject, and to covert a JSONArray or JSONObject into an XML text using
the JsonML transform.</div>
</div>
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a></div>
<div class="col-last even-row-color class-summary class-summary-tab2">
<div class="block">Configuration object for the XML to JSONML parser.</div>
</div>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="JSONObject.html" title="class in org.json">JSONObject</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab2">
<div class="block">A JSONObject is an unordered collection of name/value pairs.</div>
</div>
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="JSONParserConfiguration.html" title="class in org.json">JSONParserConfiguration</a></div>
<div class="col-last even-row-color class-summary class-summary-tab2">
<div class="block">Configuration object for the JSON parser.</div>
</div>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="JSONPointer.html" title="class in org.json">JSONPointer</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab2">
<div class="block">A JSON Pointer is a simple query language defined for JSON documents by
<a href="https://tools.ietf.org/html/rfc6901">RFC 6901</a>.</div>
</div>
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="JSONPointer.Builder.html" title="class in org.json">JSONPointer.Builder</a></div>
<div class="col-last even-row-color class-summary class-summary-tab2">
<div class="block">This class allows the user to build a JSONPointer in steps, using
exactly one segment in each step.</div>
</div>
<div class="col-first odd-row-color class-summary class-summary-tab5"><a href="JSONPointerException.html" title="class in org.json">JSONPointerException</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab5">
<div class="block">The JSONPointerException is thrown by <a href="JSONPointer.html" title="class in org.json"><code>JSONPointer</code></a> if an error occurs
during evaluating a pointer.</div>
</div>
<div class="col-first even-row-color class-summary class-summary-tab7"><a href="JSONPropertyIgnore.html" title="annotation interface in org.json">JSONPropertyIgnore</a></div>
<div class="col-last even-row-color class-summary class-summary-tab7">
<div class="block">Use this annotation on a getter method to override the Bean name
parser for Bean -&gt; JSONObject mapping.</div>
</div>
<div class="col-first odd-row-color class-summary class-summary-tab7"><a href="JSONPropertyName.html" title="annotation interface in org.json">JSONPropertyName</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab7">
<div class="block">Use this annotation on a getter method to override the Bean name
parser for Bean -&gt; JSONObject mapping.</div>
</div>
<div class="col-first even-row-color class-summary class-summary-tab1"><a href="JSONString.html" title="interface in org.json">JSONString</a></div>
<div class="col-last even-row-color class-summary class-summary-tab1">
<div class="block">The <code>JSONString</code> interface allows a <code>toJSONString()</code> <div class="block">The <code>JSONString</code> interface allows a <code>toJSONString()</code>
method so that a class can change the behavior of method so that a class can change the behavior of
<code>JSONObject.toString()</code>, <code>JSONArray.toString()</code>, <code>JSONObject.toString()</code>, <code>JSONArray.toString()</code>,
and <code>JSONWriter.value(</code>Object<code>)</code>.</div> and <code>JSONWriter.value(</code>Object<code>)</code>.</div>
</div> </td>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="JSONStringer.html" title="class in org.json">JSONStringer</a></div> </tr>
<div class="col-last odd-row-color class-summary class-summary-tab2"> <tr class="rowColor">
<td class="colFirst"><a href="../../org/json/XMLXsiTypeConverter.html" title="interface in org.json">XMLXsiTypeConverter</a>&lt;T&gt;</td>
<td class="colLast">
<div class="block">Type conversion configuration interface to be used with xsi:type attributes.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../org/json/CDL.html" title="class in org.json">CDL</a></td>
<td class="colLast">
<div class="block">This provides static methods to convert comma (or otherwise) delimited text into a
JSONArray, and to convert a JSONArray into comma (or otherwise) delimited text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../org/json/Cookie.html" title="class in org.json">Cookie</a></td>
<td class="colLast">
<div class="block">Convert a web browser cookie specification to a JSONObject and back.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../org/json/CookieList.html" title="class in org.json">CookieList</a></td>
<td class="colLast">
<div class="block">Convert a web browser cookie list string to a JSONObject and back.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../org/json/HTTP.html" title="class in org.json">HTTP</a></td>
<td class="colLast">
<div class="block">Convert an HTTP header to a JSONObject and back.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../org/json/HTTPTokener.html" title="class in org.json">HTTPTokener</a></td>
<td class="colLast">
<div class="block">The HTTPTokener extends the JSONTokener to provide additional methods
for the parsing of HTTP headers.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../org/json/JSONArray.html" title="class in org.json">JSONArray</a></td>
<td class="colLast">
<div class="block">A JSONArray is an ordered sequence of values.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../org/json/JSONML.html" title="class in org.json">JSONML</a></td>
<td class="colLast">
<div class="block">This provides static methods to convert an XML text into a JSONArray or
JSONObject, and to covert a JSONArray or JSONObject into an XML text using
the JsonML transform.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../org/json/JSONMLParserConfiguration.html" title="class in org.json">JSONMLParserConfiguration</a></td>
<td class="colLast">
<div class="block">Configuration object for the XML to JSONML parser.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../org/json/JSONObject.html" title="class in org.json">JSONObject</a></td>
<td class="colLast">
<div class="block">A JSONObject is an unordered collection of name/value pairs.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../org/json/JSONParserConfiguration.html" title="class in org.json">JSONParserConfiguration</a></td>
<td class="colLast">
<div class="block">Configuration object for the JSON parser.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../org/json/JSONPointer.html" title="class in org.json">JSONPointer</a></td>
<td class="colLast">
<div class="block">A JSON Pointer is a simple query language defined for JSON documents by
<a href="https://tools.ietf.org/html/rfc6901">RFC 6901</a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../org/json/JSONPointer.Builder.html" title="class in org.json">JSONPointer.Builder</a></td>
<td class="colLast">
<div class="block">This class allows the user to build a JSONPointer in steps, using
exactly one segment in each step.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../org/json/JSONStringer.html" title="class in org.json">JSONStringer</a></td>
<td class="colLast">
<div class="block">JSONStringer provides a quick and convenient way of producing JSON text.</div> <div class="block">JSONStringer provides a quick and convenient way of producing JSON text.</div>
</div> </td>
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="JSONTokener.html" title="class in org.json">JSONTokener</a></div> </tr>
<div class="col-last even-row-color class-summary class-summary-tab2"> <tr class="rowColor">
<td class="colFirst"><a href="../../org/json/JSONTokener.html" title="class in org.json">JSONTokener</a></td>
<td class="colLast">
<div class="block">A JSONTokener takes a source string and extracts characters and tokens from <div class="block">A JSONTokener takes a source string and extracts characters and tokens from
it.</div> it.</div>
</div> </td>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="JSONWriter.html" title="class in org.json">JSONWriter</a></div> </tr>
<div class="col-last odd-row-color class-summary class-summary-tab2"> <tr class="altColor">
<td class="colFirst"><a href="../../org/json/JSONWriter.html" title="class in org.json">JSONWriter</a></td>
<td class="colLast">
<div class="block">JSONWriter provides a quick and convenient way of producing JSON text.</div> <div class="block">JSONWriter provides a quick and convenient way of producing JSON text.</div>
</div> </td>
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></div> </tr>
<div class="col-last even-row-color class-summary class-summary-tab2"> <tr class="rowColor">
<td class="colFirst"><a href="../../org/json/ParserConfiguration.html" title="class in org.json">ParserConfiguration</a></td>
<td class="colLast">
<div class="block">Configuration base object for parsers.</div> <div class="block">Configuration base object for parsers.</div>
</div> </td>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="Property.html" title="class in org.json">Property</a></div> </tr>
<div class="col-last odd-row-color class-summary class-summary-tab2"> <tr class="altColor">
<td class="colFirst"><a href="../../org/json/Property.html" title="class in org.json">Property</a></td>
<td class="colLast">
<div class="block">Converts a Property file data into JSONObject and back.</div> <div class="block">Converts a Property file data into JSONObject and back.</div>
</div> </td>
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="XML.html" title="class in org.json">XML</a></div> </tr>
<div class="col-last even-row-color class-summary class-summary-tab2"> <tr class="rowColor">
<td class="colFirst"><a href="../../org/json/StringBuilderWriter.html" title="class in org.json">StringBuilderWriter</a></td>
<td class="colLast">
<div class="block">Performance optimised alternative for <a href="https://docs.oracle.com/javase/7/docs/api/java/io/StringWriter.html?is-external=true" title="class or interface in java.io"><code>StringWriter</code></a>
using internally a <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang"><code>StringBuilder</code></a> instead of a <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang"><code>StringBuffer</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../org/json/XML.html" title="class in org.json">XML</a></td>
<td class="colLast">
<div class="block">This provides static methods to convert an XML text into a JSONObject, and to <div class="block">This provides static methods to convert an XML text into a JSONObject, and to
covert a JSONObject into an XML text.</div> covert a JSONObject into an XML text.</div>
</div> </td>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="XMLParserConfiguration.html" title="class in org.json">XMLParserConfiguration</a></div> </tr>
<div class="col-last odd-row-color class-summary class-summary-tab2"> <tr class="rowColor">
<td class="colFirst"><a href="../../org/json/XMLParserConfiguration.html" title="class in org.json">XMLParserConfiguration</a></td>
<td class="colLast">
<div class="block">Configuration object for the XML parser.</div> <div class="block">Configuration object for the XML parser.</div>
</div> </td>
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="XMLTokener.html" title="class in org.json">XMLTokener</a></div> </tr>
<div class="col-last even-row-color class-summary class-summary-tab2"> <tr class="altColor">
<td class="colFirst"><a href="../../org/json/XMLTokener.html" title="class in org.json">XMLTokener</a></td>
<td class="colLast">
<div class="block">The XMLTokener extends the JSONTokener to provide additional methods <div class="block">The XMLTokener extends the JSONTokener to provide additional methods
for the parsing of XML texts.</div> for the parsing of XML texts.</div>
</div> </td>
<div class="col-first odd-row-color class-summary class-summary-tab1"><a href="XMLXsiTypeConverter.html" title="interface in org.json">XMLXsiTypeConverter</a>&lt;T&gt;</div> </tr>
<div class="col-last odd-row-color class-summary class-summary-tab1"> </tbody>
<div class="block">Type conversion configuration interface to be used with xsi:type attributes.</div> </table>
</div> </li>
</div> <li class="blockList">
</div> <table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Exception Summary table, listing exceptions, and an explanation">
</div> <caption><span>Exception Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Exception</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../org/json/JSONException.html" title="class in org.json">JSONException</a></td>
<td class="colLast">
<div class="block">The JSONException is thrown by the JSON.org classes when things are amiss.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../org/json/JSONPointerException.html" title="class in org.json">JSONPointerException</a></td>
<td class="colLast">
<div class="block">The JSONPointerException is thrown by <a href="../../org/json/JSONPointer.html" title="class in org.json"><code>JSONPointer</code></a> if an error occurs
during evaluating a pointer.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Annotation Types Summary table, listing annotation types, and an explanation">
<caption><span>Annotation Types Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Annotation Type</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../org/json/JSONPropertyIgnore.html" title="annotation in org.json">JSONPropertyIgnore</a></td>
<td class="colLast">
<div class="block">Use this annotation on a getter method to override the Bean name
parser for Bean -&gt; JSONObject mapping.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../org/json/JSONPropertyName.html" title="annotation in org.json">JSONPropertyName</a></td>
<td class="colLast">
<div class="block">Use this annotation on a getter method to override the Bean name
parser for Bean -&gt; JSONObject mapping.</div>
</td>
</tr>
</tbody>
</table>
</li> </li>
</ul> </ul>
</section>
</main>
</div> </div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li>Prev&nbsp;Package</li>
<li>Next&nbsp;Package</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

View File

@ -1,97 +1,117 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>org.json Class Hierarchy</title> <title>org.json Class Hierarchy</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="tree: package: org.json">
<meta name="generator" content="javadoc/PackageTreeWriter">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../script.js"></script> <script type="text/javascript" src="../../script.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="package-tree-page"> <body>
<script type="text/javascript">var pathtoroot = "../../"; <script type="text/javascript"><!--
loadScripts(document, 'script');</script> try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="org.json Class Hierarchy";
}
}
catch(err) {
}
//-->
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<li><a href="package-summary.html">Package</a></li> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li>Class</li> <li>Class</li>
<li class="nav-bar-cell1-rev">Tree</li> <li class="navBarCell1Rev">Tree</li>
<li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li> <li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html#tree">Help</a></li> <li><a href="../../help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <ul class="navList">
<input type="text" id="search-input" value="search" disabled="disabled"> <li>Prev</li>
<input type="reset" id="reset-button" value="reset" disabled="disabled"> <li>Next</li>
</div> </ul>
<ul class="navList">
<li><a href="../../index.html?org/json/package-tree.html" target="_top">Frames</a></li>
<li><a href="package-tree.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<div class="header"> <div class="header">
<h1 class="title">Hierarchy For Package org.json</h1> <h1 class="title">Hierarchy For Package org.json</h1>
</div> </div>
<section class="hierarchy"> <div class="contentContainer">
<h2 title="Class Hierarchy">Class Hierarchy</h2> <h2 title="Class Hierarchy">Class Hierarchy</h2>
<ul> <ul>
<li class="circle">java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" class="type-name-link external-link" title="class or interface in java.lang">Object</a> <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Object</span></a>
<ul> <ul>
<li class="circle">org.json.<a href="CDL.html" class="type-name-link" title="class in org.json">CDL</a></li> <li type="circle">org.json.<a href="../../org/json/CDL.html" title="class in org.json"><span class="typeNameLink">CDL</span></a></li>
<li class="circle">org.json.<a href="Cookie.html" class="type-name-link" title="class in org.json">Cookie</a></li> <li type="circle">org.json.<a href="../../org/json/Cookie.html" title="class in org.json"><span class="typeNameLink">Cookie</span></a></li>
<li class="circle">org.json.<a href="CookieList.html" class="type-name-link" title="class in org.json">CookieList</a></li> <li type="circle">org.json.<a href="../../org/json/CookieList.html" title="class in org.json"><span class="typeNameLink">CookieList</span></a></li>
<li class="circle">org.json.<a href="HTTP.html" class="type-name-link" title="class in org.json">HTTP</a></li> <li type="circle">org.json.<a href="../../org/json/HTTP.html" title="class in org.json"><span class="typeNameLink">HTTP</span></a></li>
<li class="circle">org.json.<a href="JSONArray.html" class="type-name-link" title="class in org.json">JSONArray</a> (implements java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a>&lt;T&gt;)</li> <li type="circle">org.json.<a href="../../org/json/JSONArray.html" title="class in org.json"><span class="typeNameLink">JSONArray</span></a> (implements java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;T&gt;)</li>
<li class="circle">org.json.<a href="JSONML.html" class="type-name-link" title="class in org.json">JSONML</a></li> <li type="circle">org.json.<a href="../../org/json/JSONML.html" title="class in org.json"><span class="typeNameLink">JSONML</span></a></li>
<li class="circle">org.json.<a href="JSONObject.html" class="type-name-link" title="class in org.json">JSONObject</a></li> <li type="circle">org.json.<a href="../../org/json/JSONObject.html" title="class in org.json"><span class="typeNameLink">JSONObject</span></a></li>
<li class="circle">org.json.<a href="JSONPointer.html" class="type-name-link" title="class in org.json">JSONPointer</a></li> <li type="circle">org.json.<a href="../../org/json/JSONPointer.html" title="class in org.json"><span class="typeNameLink">JSONPointer</span></a></li>
<li class="circle">org.json.<a href="JSONPointer.Builder.html" class="type-name-link" title="class in org.json">JSONPointer.Builder</a></li> <li type="circle">org.json.<a href="../../org/json/JSONPointer.Builder.html" title="class in org.json"><span class="typeNameLink">JSONPointer.Builder</span></a></li>
<li class="circle">org.json.<a href="JSONTokener.html" class="type-name-link" title="class in org.json">JSONTokener</a> <li type="circle">org.json.<a href="../../org/json/JSONTokener.html" title="class in org.json"><span class="typeNameLink">JSONTokener</span></a>
<ul> <ul>
<li class="circle">org.json.<a href="HTTPTokener.html" class="type-name-link" title="class in org.json">HTTPTokener</a></li> <li type="circle">org.json.<a href="../../org/json/HTTPTokener.html" title="class in org.json"><span class="typeNameLink">HTTPTokener</span></a></li>
<li class="circle">org.json.<a href="XMLTokener.html" class="type-name-link" title="class in org.json">XMLTokener</a></li> <li type="circle">org.json.<a href="../../org/json/XMLTokener.html" title="class in org.json"><span class="typeNameLink">XMLTokener</span></a></li>
</ul> </ul>
</li> </li>
<li class="circle">org.json.<a href="JSONWriter.html" class="type-name-link" title="class in org.json">JSONWriter</a> <li type="circle">org.json.<a href="../../org/json/JSONWriter.html" title="class in org.json"><span class="typeNameLink">JSONWriter</span></a>
<ul> <ul>
<li class="circle">org.json.<a href="JSONStringer.html" class="type-name-link" title="class in org.json">JSONStringer</a></li> <li type="circle">org.json.<a href="../../org/json/JSONStringer.html" title="class in org.json"><span class="typeNameLink">JSONStringer</span></a></li>
</ul> </ul>
</li> </li>
<li class="circle">org.json.<a href="ParserConfiguration.html" class="type-name-link" title="class in org.json">ParserConfiguration</a> <li type="circle">org.json.<a href="../../org/json/ParserConfiguration.html" title="class in org.json"><span class="typeNameLink">ParserConfiguration</span></a>
<ul> <ul>
<li class="circle">org.json.<a href="JSONMLParserConfiguration.html" class="type-name-link" title="class in org.json">JSONMLParserConfiguration</a></li> <li type="circle">org.json.<a href="../../org/json/JSONMLParserConfiguration.html" title="class in org.json"><span class="typeNameLink">JSONMLParserConfiguration</span></a></li>
<li class="circle">org.json.<a href="JSONParserConfiguration.html" class="type-name-link" title="class in org.json">JSONParserConfiguration</a></li> <li type="circle">org.json.<a href="../../org/json/JSONParserConfiguration.html" title="class in org.json"><span class="typeNameLink">JSONParserConfiguration</span></a></li>
<li class="circle">org.json.<a href="XMLParserConfiguration.html" class="type-name-link" title="class in org.json">XMLParserConfiguration</a></li> <li type="circle">org.json.<a href="../../org/json/XMLParserConfiguration.html" title="class in org.json"><span class="typeNameLink">XMLParserConfiguration</span></a></li>
</ul> </ul>
</li> </li>
<li class="circle">org.json.<a href="Property.html" class="type-name-link" title="class in org.json">Property</a></li> <li type="circle">org.json.<a href="../../org/json/Property.html" title="class in org.json"><span class="typeNameLink">Property</span></a></li>
<li class="circle">java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html" class="type-name-link external-link" title="class or interface in java.lang">Throwable</a> (implements java.io.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/Serializable.html" title="class or interface in java.io" class="external-link">Serializable</a>) <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Throwable</span></a> (implements java.io.<a href="https://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
<ul> <ul>
<li class="circle">java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Exception.html" class="type-name-link external-link" title="class or interface in java.lang">Exception</a> <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Exception</span></a>
<ul> <ul>
<li class="circle">java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/RuntimeException.html" class="type-name-link external-link" title="class or interface in java.lang">RuntimeException</a> <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">RuntimeException</span></a>
<ul> <ul>
<li class="circle">org.json.<a href="JSONException.html" class="type-name-link" title="class in org.json">JSONException</a> <li type="circle">org.json.<a href="../../org/json/JSONException.html" title="class in org.json"><span class="typeNameLink">JSONException</span></a>
<ul> <ul>
<li class="circle">org.json.<a href="JSONPointerException.html" class="type-name-link" title="class in org.json">JSONPointerException</a></li> <li type="circle">org.json.<a href="../../org/json/JSONPointerException.html" title="class in org.json"><span class="typeNameLink">JSONPointerException</span></a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
@ -100,27 +120,70 @@ loadScripts(document, 'script');</script>
</li> </li>
</ul> </ul>
</li> </li>
<li class="circle">org.json.<a href="XML.html" class="type-name-link" title="class in org.json">XML</a></li> <li type="circle">java.io.<a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io"><span class="typeNameLink">Writer</span></a> (implements java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang">Appendable</a>, java.io.<a href="https://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, java.io.<a href="https://docs.oracle.com/javase/7/docs/api/java/io/Flushable.html?is-external=true" title="class or interface in java.io">Flushable</a>)
<ul>
<li type="circle">org.json.<a href="../../org/json/StringBuilderWriter.html" title="class in org.json"><span class="typeNameLink">StringBuilderWriter</span></a></li>
</ul>
</li>
<li type="circle">org.json.<a href="../../org/json/XML.html" title="class in org.json"><span class="typeNameLink">XML</span></a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
</section>
<section class="hierarchy">
<h2 title="Interface Hierarchy">Interface Hierarchy</h2> <h2 title="Interface Hierarchy">Interface Hierarchy</h2>
<ul> <ul>
<li class="circle">org.json.<a href="JSONString.html" class="type-name-link" title="interface in org.json">JSONString</a></li> <li type="circle">org.json.<a href="../../org/json/JSONString.html" title="interface in org.json"><span class="typeNameLink">JSONString</span></a></li>
<li class="circle">org.json.<a href="XMLXsiTypeConverter.html" class="type-name-link" title="interface in org.json">XMLXsiTypeConverter</a>&lt;T&gt;</li> <li type="circle">org.json.<a href="../../org/json/XMLXsiTypeConverter.html" title="interface in org.json"><span class="typeNameLink">XMLXsiTypeConverter</span></a>&lt;T&gt;</li>
</ul> </ul>
</section> <h2 title="Annotation Type Hierarchy">Annotation Type Hierarchy</h2>
<section class="hierarchy">
<h2 title="Annotation Interface Hierarchy">Annotation Interface Hierarchy</h2>
<ul> <ul>
<li class="circle">org.json.<a href="JSONPropertyIgnore.html" class="type-name-link" title="annotation interface in org.json">JSONPropertyIgnore</a> (implements java.lang.annotation.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/Annotation.html" title="class or interface in java.lang.annotation" class="external-link">Annotation</a>)</li> <li type="circle">org.json.<a href="../../org/json/JSONPropertyName.html" title="annotation in org.json"><span class="typeNameLink">JSONPropertyName</span></a> (implements java.lang.annotation.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
<li class="circle">org.json.<a href="JSONPropertyName.html" class="type-name-link" title="annotation interface in org.json">JSONPropertyName</a> (implements java.lang.annotation.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/Annotation.html" title="class or interface in java.lang.annotation" class="external-link">Annotation</a>)</li> <li type="circle">org.json.<a href="../../org/json/JSONPropertyIgnore.html" title="annotation in org.json"><span class="typeNameLink">JSONPropertyIgnore</span></a> (implements java.lang.annotation.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
</ul> </ul>
</section>
</main>
</div> </div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../org/json/package-summary.html">Package</a></li>
<li>Class</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?org/json/package-tree.html" target="_top">Frames</a></li>
<li><a href="package-tree.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

View File

@ -1,101 +1,121 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>Class Hierarchy</title> <title>Class Hierarchy</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="class tree">
<meta name="generator" content="javadoc/TreeWriter">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="script.js"></script>
<script type="text/javascript" src="script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="tree-page"> <body>
<script type="text/javascript">var pathtoroot = "./"; <script type="text/javascript"><!--
loadScripts(document, 'script');</script> try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Class Hierarchy";
}
}
catch(err) {
}
//-->
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<li>Package</li> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="org/json/package-summary.html">Package</a></li>
<li>Class</li> <li>Class</li>
<li class="nav-bar-cell1-rev">Tree</li> <li class="navBarCell1Rev">Tree</li>
<li><a href="deprecated-list.html">Deprecated</a></li> <li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li> <li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html#tree">Help</a></li> <li><a href="help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <ul class="navList">
<input type="text" id="search-input" value="search" disabled="disabled"> <li>Prev</li>
<input type="reset" id="reset-button" value="reset" disabled="disabled"> <li>Next</li>
</div> </ul>
<ul class="navList">
<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li>
<li><a href="overview-tree.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<div class="header"> <div class="header">
<h1 class="title">Hierarchy For All Packages</h1> <h1 class="title">Hierarchy For All Packages</h1>
<span class="package-hierarchy-label">Package Hierarchies:</span> <span class="packageHierarchyLabel">Package Hierarchies:</span>
<ul class="horizontal"> <ul class="horizontal">
<li><a href="org/json/package-tree.html">org.json</a></li> <li><a href="org/json/package-tree.html">org.json</a></li>
</ul> </ul>
</div> </div>
<section class="hierarchy"> <div class="contentContainer">
<h2 title="Class Hierarchy">Class Hierarchy</h2> <h2 title="Class Hierarchy">Class Hierarchy</h2>
<ul> <ul>
<li class="circle">java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" class="type-name-link external-link" title="class or interface in java.lang">Object</a> <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Object</span></a>
<ul> <ul>
<li class="circle">org.json.<a href="org/json/CDL.html" class="type-name-link" title="class in org.json">CDL</a></li> <li type="circle">org.json.<a href="org/json/CDL.html" title="class in org.json"><span class="typeNameLink">CDL</span></a></li>
<li class="circle">org.json.<a href="org/json/Cookie.html" class="type-name-link" title="class in org.json">Cookie</a></li> <li type="circle">org.json.<a href="org/json/Cookie.html" title="class in org.json"><span class="typeNameLink">Cookie</span></a></li>
<li class="circle">org.json.<a href="org/json/CookieList.html" class="type-name-link" title="class in org.json">CookieList</a></li> <li type="circle">org.json.<a href="org/json/CookieList.html" title="class in org.json"><span class="typeNameLink">CookieList</span></a></li>
<li class="circle">org.json.<a href="org/json/HTTP.html" class="type-name-link" title="class in org.json">HTTP</a></li> <li type="circle">org.json.<a href="org/json/HTTP.html" title="class in org.json"><span class="typeNameLink">HTTP</span></a></li>
<li class="circle">org.json.<a href="org/json/JSONArray.html" class="type-name-link" title="class in org.json">JSONArray</a> (implements java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a>&lt;T&gt;)</li> <li type="circle">org.json.<a href="org/json/JSONArray.html" title="class in org.json"><span class="typeNameLink">JSONArray</span></a> (implements java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;T&gt;)</li>
<li class="circle">org.json.<a href="org/json/JSONML.html" class="type-name-link" title="class in org.json">JSONML</a></li> <li type="circle">org.json.<a href="org/json/JSONML.html" title="class in org.json"><span class="typeNameLink">JSONML</span></a></li>
<li class="circle">org.json.<a href="org/json/JSONObject.html" class="type-name-link" title="class in org.json">JSONObject</a></li> <li type="circle">org.json.<a href="org/json/JSONObject.html" title="class in org.json"><span class="typeNameLink">JSONObject</span></a></li>
<li class="circle">org.json.<a href="org/json/JSONPointer.html" class="type-name-link" title="class in org.json">JSONPointer</a></li> <li type="circle">org.json.<a href="org/json/JSONPointer.html" title="class in org.json"><span class="typeNameLink">JSONPointer</span></a></li>
<li class="circle">org.json.<a href="org/json/JSONPointer.Builder.html" class="type-name-link" title="class in org.json">JSONPointer.Builder</a></li> <li type="circle">org.json.<a href="org/json/JSONPointer.Builder.html" title="class in org.json"><span class="typeNameLink">JSONPointer.Builder</span></a></li>
<li class="circle">org.json.<a href="org/json/JSONTokener.html" class="type-name-link" title="class in org.json">JSONTokener</a> <li type="circle">org.json.<a href="org/json/JSONTokener.html" title="class in org.json"><span class="typeNameLink">JSONTokener</span></a>
<ul> <ul>
<li class="circle">org.json.<a href="org/json/HTTPTokener.html" class="type-name-link" title="class in org.json">HTTPTokener</a></li> <li type="circle">org.json.<a href="org/json/HTTPTokener.html" title="class in org.json"><span class="typeNameLink">HTTPTokener</span></a></li>
<li class="circle">org.json.<a href="org/json/XMLTokener.html" class="type-name-link" title="class in org.json">XMLTokener</a></li> <li type="circle">org.json.<a href="org/json/XMLTokener.html" title="class in org.json"><span class="typeNameLink">XMLTokener</span></a></li>
</ul> </ul>
</li> </li>
<li class="circle">org.json.<a href="org/json/JSONWriter.html" class="type-name-link" title="class in org.json">JSONWriter</a> <li type="circle">org.json.<a href="org/json/JSONWriter.html" title="class in org.json"><span class="typeNameLink">JSONWriter</span></a>
<ul> <ul>
<li class="circle">org.json.<a href="org/json/JSONStringer.html" class="type-name-link" title="class in org.json">JSONStringer</a></li> <li type="circle">org.json.<a href="org/json/JSONStringer.html" title="class in org.json"><span class="typeNameLink">JSONStringer</span></a></li>
</ul> </ul>
</li> </li>
<li class="circle">org.json.<a href="org/json/ParserConfiguration.html" class="type-name-link" title="class in org.json">ParserConfiguration</a> <li type="circle">org.json.<a href="org/json/ParserConfiguration.html" title="class in org.json"><span class="typeNameLink">ParserConfiguration</span></a>
<ul> <ul>
<li class="circle">org.json.<a href="org/json/JSONMLParserConfiguration.html" class="type-name-link" title="class in org.json">JSONMLParserConfiguration</a></li> <li type="circle">org.json.<a href="org/json/JSONMLParserConfiguration.html" title="class in org.json"><span class="typeNameLink">JSONMLParserConfiguration</span></a></li>
<li class="circle">org.json.<a href="org/json/JSONParserConfiguration.html" class="type-name-link" title="class in org.json">JSONParserConfiguration</a></li> <li type="circle">org.json.<a href="org/json/JSONParserConfiguration.html" title="class in org.json"><span class="typeNameLink">JSONParserConfiguration</span></a></li>
<li class="circle">org.json.<a href="org/json/XMLParserConfiguration.html" class="type-name-link" title="class in org.json">XMLParserConfiguration</a></li> <li type="circle">org.json.<a href="org/json/XMLParserConfiguration.html" title="class in org.json"><span class="typeNameLink">XMLParserConfiguration</span></a></li>
</ul> </ul>
</li> </li>
<li class="circle">org.json.<a href="org/json/Property.html" class="type-name-link" title="class in org.json">Property</a></li> <li type="circle">org.json.<a href="org/json/Property.html" title="class in org.json"><span class="typeNameLink">Property</span></a></li>
<li class="circle">java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html" class="type-name-link external-link" title="class or interface in java.lang">Throwable</a> (implements java.io.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/Serializable.html" title="class or interface in java.io" class="external-link">Serializable</a>) <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Throwable</span></a> (implements java.io.<a href="https://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
<ul> <ul>
<li class="circle">java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Exception.html" class="type-name-link external-link" title="class or interface in java.lang">Exception</a> <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Exception</span></a>
<ul> <ul>
<li class="circle">java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/RuntimeException.html" class="type-name-link external-link" title="class or interface in java.lang">RuntimeException</a> <li type="circle">java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">RuntimeException</span></a>
<ul> <ul>
<li class="circle">org.json.<a href="org/json/JSONException.html" class="type-name-link" title="class in org.json">JSONException</a> <li type="circle">org.json.<a href="org/json/JSONException.html" title="class in org.json"><span class="typeNameLink">JSONException</span></a>
<ul> <ul>
<li class="circle">org.json.<a href="org/json/JSONPointerException.html" class="type-name-link" title="class in org.json">JSONPointerException</a></li> <li type="circle">org.json.<a href="org/json/JSONPointerException.html" title="class in org.json"><span class="typeNameLink">JSONPointerException</span></a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
@ -104,27 +124,70 @@ loadScripts(document, 'script');</script>
</li> </li>
</ul> </ul>
</li> </li>
<li class="circle">org.json.<a href="org/json/XML.html" class="type-name-link" title="class in org.json">XML</a></li> <li type="circle">java.io.<a href="https://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io"><span class="typeNameLink">Writer</span></a> (implements java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang">Appendable</a>, java.io.<a href="https://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, java.io.<a href="https://docs.oracle.com/javase/7/docs/api/java/io/Flushable.html?is-external=true" title="class or interface in java.io">Flushable</a>)
<ul>
<li type="circle">org.json.<a href="org/json/StringBuilderWriter.html" title="class in org.json"><span class="typeNameLink">StringBuilderWriter</span></a></li>
</ul>
</li>
<li type="circle">org.json.<a href="org/json/XML.html" title="class in org.json"><span class="typeNameLink">XML</span></a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
</section>
<section class="hierarchy">
<h2 title="Interface Hierarchy">Interface Hierarchy</h2> <h2 title="Interface Hierarchy">Interface Hierarchy</h2>
<ul> <ul>
<li class="circle">org.json.<a href="org/json/JSONString.html" class="type-name-link" title="interface in org.json">JSONString</a></li> <li type="circle">org.json.<a href="org/json/JSONString.html" title="interface in org.json"><span class="typeNameLink">JSONString</span></a></li>
<li class="circle">org.json.<a href="org/json/XMLXsiTypeConverter.html" class="type-name-link" title="interface in org.json">XMLXsiTypeConverter</a>&lt;T&gt;</li> <li type="circle">org.json.<a href="org/json/XMLXsiTypeConverter.html" title="interface in org.json"><span class="typeNameLink">XMLXsiTypeConverter</span></a>&lt;T&gt;</li>
</ul> </ul>
</section> <h2 title="Annotation Type Hierarchy">Annotation Type Hierarchy</h2>
<section class="hierarchy">
<h2 title="Annotation Interface Hierarchy">Annotation Interface Hierarchy</h2>
<ul> <ul>
<li class="circle">org.json.<a href="org/json/JSONPropertyIgnore.html" class="type-name-link" title="annotation interface in org.json">JSONPropertyIgnore</a> (implements java.lang.annotation.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/Annotation.html" title="class or interface in java.lang.annotation" class="external-link">Annotation</a>)</li> <li type="circle">org.json.<a href="org/json/JSONPropertyName.html" title="annotation in org.json"><span class="typeNameLink">JSONPropertyName</span></a> (implements java.lang.annotation.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
<li class="circle">org.json.<a href="org/json/JSONPropertyName.html" class="type-name-link" title="annotation interface in org.json">JSONPropertyName</a> (implements java.lang.annotation.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/Annotation.html" title="class or interface in java.lang.annotation" class="external-link">Annotation</a>)</li> <li type="circle">org.json.<a href="org/json/JSONPropertyIgnore.html" title="annotation in org.json"><span class="typeNameLink">JSONPropertyIgnore</span></a> (implements java.lang.annotation.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>)</li>
</ul> </ul>
</section>
</main>
</div> </div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="org/json/package-summary.html">Package</a></li>
<li>Class</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li>
<li><a href="overview-tree.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>

View File

@ -0,0 +1 @@
org.json

View File

@ -1,132 +1,30 @@
/* function show(type)
* Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved. {
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. count = 0;
* for (var key in methods) {
* var row = document.getElementById(key);
* if ((methods[key] & type) != 0) {
* row.style.display = '';
* row.className = (count++ % 2) ? rowColor : altColor;
* }
* else
* row.style.display = 'none';
* }
* updateTabs(type);
*
*
*
*
*
*
*
*
*
*
*/
var moduleSearchIndex;
var packageSearchIndex;
var typeSearchIndex;
var memberSearchIndex;
var tagSearchIndex;
function loadScripts(doc, tag) {
createElem(doc, tag, 'search.js');
createElem(doc, tag, 'module-search-index.js');
createElem(doc, tag, 'package-search-index.js');
createElem(doc, tag, 'type-search-index.js');
createElem(doc, tag, 'member-search-index.js');
createElem(doc, tag, 'tag-search-index.js');
} }
function createElem(doc, tag, path) { function updateTabs(type)
var script = doc.createElement(tag); {
var scriptElement = doc.getElementsByTagName(tag)[0]; for (var value in tabs) {
script.src = pathtoroot + path; var sNode = document.getElementById(tabs[value][0]);
scriptElement.parentNode.insertBefore(script, scriptElement); var spanNode = sNode.firstChild;
if (value == type) {
sNode.className = activeTableTab;
spanNode.innerHTML = tabs[value][1];
} }
else {
function show(tableId, selected, columns) { sNode.className = tableTab;
if (tableId !== selected) { spanNode.innerHTML = "<a href=\"javascript:show("+ value + ");\">" + tabs[value][1] + "</a>";
document.querySelectorAll('div.' + tableId + ':not(.' + selected + ')')
.forEach(function(elem) {
elem.style.display = 'none';
});
}
document.querySelectorAll('div.' + selected)
.forEach(function(elem, index) {
elem.style.display = '';
var isEvenRow = index % (columns * 2) < columns;
elem.classList.remove(isEvenRow ? oddRowColor : evenRowColor);
elem.classList.add(isEvenRow ? evenRowColor : oddRowColor);
});
updateTabs(tableId, selected);
}
function updateTabs(tableId, selected) {
document.querySelector('div#' + tableId +' .summary-table')
.setAttribute('aria-labelledby', selected);
document.querySelectorAll('button[id^="' + tableId + '"]')
.forEach(function(tab, index) {
if (selected === tab.id || (tableId === selected && index === 0)) {
tab.className = activeTableTab;
tab.setAttribute('aria-selected', true);
tab.setAttribute('tabindex',0);
} else {
tab.className = tableTab;
tab.setAttribute('aria-selected', false);
tab.setAttribute('tabindex',-1);
}
});
}
function switchTab(e) {
var selected = document.querySelector('[aria-selected=true]');
if (selected) {
if ((e.keyCode === 37 || e.keyCode === 38) && selected.previousSibling) {
// left or up arrow key pressed: move focus to previous tab
selected.previousSibling.click();
selected.previousSibling.focus();
e.preventDefault();
} else if ((e.keyCode === 39 || e.keyCode === 40) && selected.nextSibling) {
// right or down arrow key pressed: move focus to next tab
selected.nextSibling.click();
selected.nextSibling.focus();
e.preventDefault();
} }
} }
} }
var updateSearchResults = function() {};
function indexFilesLoaded() {
return moduleSearchIndex
&& packageSearchIndex
&& typeSearchIndex
&& memberSearchIndex
&& tagSearchIndex;
}
// Workaround for scroll position not being included in browser history (8249133)
document.addEventListener("DOMContentLoaded", function(e) {
var contentDiv = document.querySelector("div.flex-content");
window.addEventListener("popstate", function(e) {
if (e.state !== null) {
contentDiv.scrollTop = e.state;
}
});
window.addEventListener("hashchange", function(e) {
history.replaceState(contentDiv.scrollTop, document.title);
});
contentDiv.addEventListener("scroll", function(e) {
var timeoutID;
if (!timeoutID) {
timeoutID = setTimeout(function() {
history.replaceState(contentDiv.scrollTop, document.title);
timeoutID = null;
}, 100);
}
});
if (!location.hash) {
history.replaceState(contentDiv.scrollTop, document.title);
}
});

View File

@ -1,86 +1,146 @@
<!DOCTYPE HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en"> <html lang="en">
<head> <head>
<!-- Generated by javadoc (17) on Sat Mar 02 18:43:47 CST 2024 --> <!-- Generated by javadoc (1.8.0_292) on Sun Jan 12 11:07:59 CST 2025 -->
<title>Serialized Form</title> <title>Serialized Form</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="date" content="2025-01-12">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2024-03-02">
<meta name="description" content="serialized forms">
<meta name="generator" content="javadoc/SerializedFormWriterImpl">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="script.js"></script>
<script type="text/javascript" src="script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="script-dir/jquery-ui.min.js"></script>
</head> </head>
<body class="serialized-form-page"> <body>
<script type="text/javascript">var pathtoroot = "./"; <script type="text/javascript"><!--
loadScripts(document, 'script');</script> try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Serialized Form";
}
}
catch(err) {
}
//-->
</script>
<noscript> <noscript>
<div>JavaScript is disabled on your browser.</div> <div>JavaScript is disabled on your browser.</div>
</noscript> </noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= --> <!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top"> <div class="topNav"><a name="navbar.top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> <!-- -->
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> </a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="org/json/package-summary.html">Package</a></li> <li><a href="org/json/package-summary.html">Package</a></li>
<li>Class</li> <li>Class</li>
<li><a href="org/json/package-tree.html">Tree</a></li> <li><a href="org/json/package-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li> <li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li> <li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html#serialized-form">Help</a></li> <li><a href="help-doc.html">Help</a></li>
</ul> </ul>
</div> </div>
<div class="sub-nav"> <div class="subNav">
<div class="nav-list-search"><label for="search-input">SEARCH:</label> <ul class="navList">
<input type="text" id="search-input" value="search" disabled="disabled"> <li>Prev</li>
<input type="reset" id="reset-button" value="reset" disabled="disabled"> <li>Next</li>
</div> </ul>
<ul class="navList">
<li><a href="index.html?serialized-form.html" target="_top">Frames</a></li>
<li><a href="serialized-form.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div> </div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= --> <!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<div class="header"> <div class="header">
<h1 title="Serialized Form" class="title">Serialized Form</h1> <h1 title="Serialized Form" class="title">Serialized Form</h1>
</div> </div>
<ul class="block-list"> <div class="serializedFormContainer">
<li> <ul class="blockList">
<section class="serialized-package-container"> <li class="blockList">
<h2 title="Package">Package&nbsp;<a href="org/json/package-summary.html">org.json</a></h2> <h2 title="Package">Package&nbsp;org.json</h2>
<ul class="block-list"> <ul class="blockList">
<li> <li class="blockList"><a name="org.json.JSONException">
<section class="serialized-class-details" id="org.json.JSONException"> <!-- -->
<h3>Exception&nbsp;<a href="org/json/JSONException.html" title="class in org.json">org.json.JSONException</a></h3> </a>
<div class="type-signature">class JSONException extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/RuntimeException.html" title="class or interface in java.lang" class="external-link">RuntimeException</a> implements <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/Serializable.html" title="class or interface in java.io" class="external-link">Serializable</a></div> <h3>Class <a href="org/json/JSONException.html" title="class in org.json">org.json.JSONException</a> extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">RuntimeException</a> implements Serializable</h3>
<dl class="name-value"> <dl class="nameValue">
<dt>serialVersionUID:</dt> <dt>serialVersionUID:</dt>
<dd>0L</dd> <dd>0L</dd>
</dl> </dl>
</section>
</li> </li>
<li> <li class="blockList"><a name="org.json.JSONPointerException">
<section class="serialized-class-details" id="org.json.JSONPointerException"> <!-- -->
<h3>Exception&nbsp;<a href="org/json/JSONPointerException.html" title="class in org.json">org.json.JSONPointerException</a></h3> </a>
<div class="type-signature">class JSONPointerException extends <a href="org/json/JSONException.html" title="class in org.json">JSONException</a> implements <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/Serializable.html" title="class or interface in java.io" class="external-link">Serializable</a></div> <h3>Class <a href="org/json/JSONPointerException.html" title="class in org.json">org.json.JSONPointerException</a> extends <a href="org/json/JSONException.html" title="class in org.json">JSONException</a> implements Serializable</h3>
<dl class="name-value"> <dl class="nameValue">
<dt>serialVersionUID:</dt> <dt>serialVersionUID:</dt>
<dd>8872944667561856751L</dd> <dd>8872944667561856751L</dd>
</dl> </dl>
</section>
</li> </li>
</ul> </ul>
</section>
</li> </li>
</ul> </ul>
</main>
</div> </div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="org/json/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="org/json/package-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div> </div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?serialized-form.html" target="_top">Frames</a></li>
<li><a href="serialized-form.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body> </body>
</html> </html>