| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>Uses of Interface jakarta.json.JsonValue (JSON Processing API documentation)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Uses of Interface jakarta.json.JsonValue (JSON Processing API documentation)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var pathtoroot = "../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="../../../module-summary.html">Module</a></li> |
| <li><a href="../package-summary.html">Package</a></li> |
| <li><a href="../JsonValue.html" title="interface in jakarta.json">Class</a></li> |
| <li class="navBarCell1Rev">Use</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 class="aboutLanguage"><br>JSON Processing API v2.0.0</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </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> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <main role="main"> |
| <div class="header"> |
| <h2 title="Uses of Interface jakarta.json.JsonValue" class="title">Uses of Interface<br>jakarta.json.JsonValue</h2> |
| </div> |
| <div class="classUseContainer"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="useSummary"> |
| <caption><span>Packages that use <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Package</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="#jakarta.json">jakarta.json</a></th> |
| <td class="colLast"> |
| <div class="block">Provides an object model API to process <a href="http://json.org/">JSON</a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="#jakarta.json.spi">jakarta.json.spi</a></th> |
| <td class="colLast"> |
| <div class="block">Service Provider Interface (SPI) to plug in implementations for |
| JSON processing objects.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="#jakarta.json.stream">jakarta.json.stream</a></th> |
| <td class="colLast"> |
| <div class="block">Provides a streaming API to parse and generate |
| <a href="http://json.org/">JSON</a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="#org.glassfish.json">org.glassfish.json</a></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <section role="region"><a id="jakarta.json"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> in <a href="../package-summary.html">jakarta.json</a></h3> |
| <table class="useSummary"> |
| <caption><span>Subinterfaces of <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> in <a href="../package-summary.html">jakarta.json</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Interface</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>interface </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../JsonArray.html" title="interface in jakarta.json">JsonArray</a></span></code></th> |
| <td class="colLast"> |
| <div class="block"><code>JsonArray</code> represents an immutable JSON array |
| (an ordered sequence of zero or more values).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>interface </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../JsonNumber.html" title="interface in jakarta.json">JsonNumber</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">An immutable JSON number value.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>interface </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../JsonObject.html" title="interface in jakarta.json">JsonObject</a></span></code></th> |
| <td class="colLast"> |
| <div class="block"><code>JsonObject</code> class represents an immutable JSON object value |
| (an unordered collection of zero or more name/value pairs).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>interface </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../JsonString.html" title="interface in jakarta.json">JsonString</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">An immutable JSON string value.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>interface </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../JsonStructure.html" title="interface in jakarta.json">JsonStructure</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Super type for the two structured types in JSON (<a href="../JsonObject.html" title="interface in jakarta.json"><code>object</code></a>s |
| and <a href="../JsonArray.html" title="interface in jakarta.json"><code>array</code></a>s).</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Fields in <a href="../package-summary.html">jakarta.json</a> declared as <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonValue.</span><code><span class="memberNameLink"><a href="../JsonValue.html#FALSE">FALSE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">JSON false value.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonValue.</span><code><span class="memberNameLink"><a href="../JsonValue.html#NULL">NULL</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">JSON null value.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonValue.</span><code><span class="memberNameLink"><a href="../JsonValue.html#TRUE">TRUE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">JSON true value.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">jakarta.json</a> with type parameters of type <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><T extends <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>><br><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><T></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonArray.</span><code><span class="memberNameLink"><a href="../JsonArray.html#getValuesAs(java.lang.Class)">getValuesAs</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><T> clazz)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a list view of the specified type for the array.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>default <T,​K extends <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>><br><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><T></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonArray.</span><code><span class="memberNameLink"><a href="../JsonArray.html#getValuesAs(java.util.function.Function)">getValuesAs</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Function</a><K,​T> func)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a list view for the array.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">jakarta.json</a> that return <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonMergePatch.</span><code><span class="memberNameLink"><a href="../JsonMergePatch.html#apply(jakarta.json.JsonValue)">apply</a></span>​(<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> target)</code></th> |
| <td class="colLast"> |
| <div class="block">Applies the JSON Merge Patch to the specified <code>target</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonPointer.</span><code><span class="memberNameLink"><a href="../JsonPointer.html#getValue(jakarta.json.JsonStructure)">getValue</a></span>​(<a href="../JsonStructure.html" title="interface in jakarta.json">JsonStructure</a> target)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the value at the referenced location in the specified <code>target</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>default <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonStructure.</span><code><span class="memberNameLink"><a href="../JsonStructure.html#getValue(java.lang.String)">getValue</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> jsonPointer)</code></th> |
| <td class="colLast"> |
| <div class="block">Get the value referenced by the provided JSON Pointer in the JsonStructure.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>default <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonReader.</span><code><span class="memberNameLink"><a href="../JsonReader.html#readValue()">readValue</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a JSON value that is represented in |
| the input source.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonMergePatch.</span><code><span class="memberNameLink"><a href="../JsonMergePatch.html#toJsonValue()">toJsonValue</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the <code>JsonMergePatch</code> as <code>JsonValue</code>.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">jakarta.json</a> with parameters of type <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>default <a href="../JsonArrayBuilder.html" title="interface in jakarta.json">JsonArrayBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonArrayBuilder.</span><code><span class="memberNameLink"><a href="../JsonArrayBuilder.html#add(int,jakarta.json.JsonValue)">add</a></span>​(int index, |
| <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Inserts a value to the array at the specified position.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../JsonArrayBuilder.html" title="interface in jakarta.json">JsonArrayBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonArrayBuilder.</span><code><span class="memberNameLink"><a href="../JsonArrayBuilder.html#add(jakarta.json.JsonValue)">add</a></span>​(<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds a value to the array.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../JsonObjectBuilder.html" title="interface in jakarta.json">JsonObjectBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonObjectBuilder.</span><code><span class="memberNameLink"><a href="../JsonObjectBuilder.html#add(java.lang.String,jakarta.json.JsonValue)">add</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> name, |
| <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds a name/<code>JsonValue</code> pair to the JSON object associated with |
| this object builder.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../JsonPatchBuilder.html" title="interface in jakarta.json">JsonPatchBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonPatchBuilder.</span><code><span class="memberNameLink"><a href="../JsonPatchBuilder.html#add(java.lang.String,jakarta.json.JsonValue)">add</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> path, |
| <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds an "add" JSON Patch operation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><T extends <a href="../JsonStructure.html" title="interface in jakarta.json">JsonStructure</a>><br>T</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonPointer.</span><code><span class="memberNameLink"><a href="../JsonPointer.html#add(T,jakarta.json.JsonValue)">add</a></span>​(T target, |
| <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds or replaces a value at the referenced location in the specified |
| <code>target</code> with the specified <code>value</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonMergePatch.</span><code><span class="memberNameLink"><a href="../JsonMergePatch.html#apply(jakarta.json.JsonValue)">apply</a></span>​(<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> target)</code></th> |
| <td class="colLast"> |
| <div class="block">Applies the JSON Merge Patch to the specified <code>target</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../JsonMergePatch.html" title="interface in jakarta.json">JsonMergePatch</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">Json.</span><code><span class="memberNameLink"><a href="../Json.html#createMergeDiff(jakarta.json.JsonValue,jakarta.json.JsonValue)">createMergeDiff</a></span>​(<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> source, |
| <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> target)</code></th> |
| <td class="colLast"> |
| <div class="block">Generates a JSON Merge Patch (<a href="http://tools.ietf.org/html/rfc7396">RFC 7396</a>) |
| from the source and target <code>JsonValue</code>s |
| which when applied to the <code>source</code>, yields the <code>target</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../JsonMergePatch.html" title="interface in jakarta.json">JsonMergePatch</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">Json.</span><code><span class="memberNameLink"><a href="../Json.html#createMergePatch(jakarta.json.JsonValue)">createMergePatch</a></span>​(<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> patch)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates JSON Merge Patch (<a href="http://tools.ietf.org/html/rfc7396">RFC 7396</a>) |
| from specified <code>JsonValue</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../JsonPatchBuilder.html" title="interface in jakarta.json">JsonPatchBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonPatchBuilder.</span><code><span class="memberNameLink"><a href="../JsonPatchBuilder.html#replace(java.lang.String,jakarta.json.JsonValue)">replace</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> path, |
| <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds a "replace" JSON Patch operation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><T extends <a href="../JsonStructure.html" title="interface in jakarta.json">JsonStructure</a>><br>T</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonPointer.</span><code><span class="memberNameLink"><a href="../JsonPointer.html#replace(T,jakarta.json.JsonValue)">replace</a></span>​(T target, |
| <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Replaces the value at the referenced location in the specified |
| <code>target</code> with the specified <code>value</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>default <a href="../JsonArrayBuilder.html" title="interface in jakarta.json">JsonArrayBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonArrayBuilder.</span><code><span class="memberNameLink"><a href="../JsonArrayBuilder.html#set(int,jakarta.json.JsonValue)">set</a></span>​(int index, |
| <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Replaces a value in the array with the specified value at the |
| specified position.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../JsonPatchBuilder.html" title="interface in jakarta.json">JsonPatchBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonPatchBuilder.</span><code><span class="memberNameLink"><a href="../JsonPatchBuilder.html#test(java.lang.String,jakarta.json.JsonValue)">test</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> path, |
| <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds a "test" JSON Patch operation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>default void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonWriter.</span><code><span class="memberNameLink"><a href="../JsonWriter.html#write(jakarta.json.JsonValue)">write</a></span>​(<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Writes the specified <a href="../JsonValue.html" title="interface in jakarta.json"><code>JsonValue</code></a> to the output source.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section role="region"><a id="jakarta.json.spi"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> in <a href="../spi/package-summary.html">jakarta.json.spi</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../spi/package-summary.html">jakarta.json.spi</a> with parameters of type <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../JsonMergePatch.html" title="interface in jakarta.json">JsonMergePatch</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonProvider.</span><code><span class="memberNameLink"><a href="../spi/JsonProvider.html#createMergeDiff(jakarta.json.JsonValue,jakarta.json.JsonValue)">createMergeDiff</a></span>​(<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> source, |
| <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> target)</code></th> |
| <td class="colLast"> |
| <div class="block">Generates a JSON Merge Patch (<a href="http://tools.ietf.org/html/rfc7396">RFC 7396</a>) |
| from the source and target <code>JsonValue</code>s |
| which when applied to the <code>source</code>, yields the <code>target</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../JsonMergePatch.html" title="interface in jakarta.json">JsonMergePatch</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonProvider.</span><code><span class="memberNameLink"><a href="../spi/JsonProvider.html#createMergePatch(jakarta.json.JsonValue)">createMergePatch</a></span>​(<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> patch)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates JSON Merge Patch (<a href="http://tools.ietf.org/html/rfc7396">RFC 7396</a>) |
| from specified <code>JsonValue</code>.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section role="region"><a id="jakarta.json.stream"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> in <a href="../stream/package-summary.html">jakarta.json.stream</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../stream/package-summary.html">jakarta.json.stream</a> that return <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>default <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonParser.</span><code><span class="memberNameLink"><a href="../stream/JsonParser.html#getValue()">getValue</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a <code>JsonValue</code> at the current parser position.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../stream/package-summary.html">jakarta.json.stream</a> that return types with arguments of type <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>default <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream" class="externalLink">Stream</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonParser.</span><code><span class="memberNameLink"><a href="../stream/JsonParser.html#getArrayStream()">getArrayStream</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a stream of the <code>JsonArray</code> elements.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>default <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream" class="externalLink">Stream</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util" class="externalLink">Map.Entry</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonParser.</span><code><span class="memberNameLink"><a href="../stream/JsonParser.html#getObjectStream()">getObjectStream</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a stream of the <code>JsonObject</code>'s |
| name/value pairs.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>default <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream" class="externalLink">Stream</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonParser.</span><code><span class="memberNameLink"><a href="../stream/JsonParser.html#getValueStream()">getValueStream</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a stream of <code>JsonValue</code> from a sequence of |
| JSON values.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/Collector.html?is-external=true" title="class or interface in java.util.stream" class="externalLink">Collector</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>,​<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="../JsonArrayBuilder.html" title="interface in jakarta.json">JsonArrayBuilder</a>>,​<a href="../JsonObject.html" title="interface in jakarta.json">JsonObject</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonCollectors.</span><code><span class="memberNameLink"><a href="../stream/JsonCollectors.html#groupingBy(java.util.function.Function)">groupingBy</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Function</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>,​<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> classifier)</code></th> |
| <td class="colLast"> |
| <div class="block">Constructs a <code>java.util.stream.Collector</code> that implements a "group by" operation on the |
| input <code>JsonValue</code> elements.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <T extends <a href="../JsonArrayBuilder.html" title="interface in jakarta.json">JsonArrayBuilder</a>><br><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/Collector.html?is-external=true" title="class or interface in java.util.stream" class="externalLink">Collector</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>,​<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​T>,​<a href="../JsonObject.html" title="interface in jakarta.json">JsonObject</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonCollectors.</span><code><span class="memberNameLink"><a href="../stream/JsonCollectors.html#groupingBy(java.util.function.Function,java.util.stream.Collector)">groupingBy</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Function</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>,​<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> classifier, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/Collector.html?is-external=true" title="class or interface in java.util.stream" class="externalLink">Collector</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>,​T,​<a href="../JsonArray.html" title="interface in jakarta.json">JsonArray</a>> downstream)</code></th> |
| <td class="colLast"> |
| <div class="block">Constructs a <code>java.util.stream.Collector</code> that implements a "group by" operation on the |
| input <code>JsonValue</code> elements.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/Collector.html?is-external=true" title="class or interface in java.util.stream" class="externalLink">Collector</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>,​<a href="../JsonArrayBuilder.html" title="interface in jakarta.json">JsonArrayBuilder</a>,​<a href="../JsonArray.html" title="interface in jakarta.json">JsonArray</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonCollectors.</span><code><span class="memberNameLink"><a href="../stream/JsonCollectors.html#toJsonArray()">toJsonArray</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Constructs a <code>java.util.stream.Collector</code> that accumulates the input <code>JsonValue</code> |
| elements into a <code>JsonArray</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/Collector.html?is-external=true" title="class or interface in java.util.stream" class="externalLink">Collector</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util" class="externalLink">Map.Entry</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>>,​<a href="../JsonObjectBuilder.html" title="interface in jakarta.json">JsonObjectBuilder</a>,​<a href="../JsonObject.html" title="interface in jakarta.json">JsonObject</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonCollectors.</span><code><span class="memberNameLink"><a href="../stream/JsonCollectors.html#toJsonObject()">toJsonObject</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Constructs a <code>java.util.stream.Collector</code> that accumulates the input <code>Map.Entry<String,JsonValue></code> |
| elements into a <code>JsonObject</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/Collector.html?is-external=true" title="class or interface in java.util.stream" class="externalLink">Collector</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>,​<a href="../JsonObjectBuilder.html" title="interface in jakarta.json">JsonObjectBuilder</a>,​<a href="../JsonObject.html" title="interface in jakarta.json">JsonObject</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonCollectors.</span><code><span class="memberNameLink"><a href="../stream/JsonCollectors.html#toJsonObject(java.util.function.Function,java.util.function.Function)">toJsonObject</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Function</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>,​<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> keyMapper, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Function</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>,​<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>> valueMapper)</code></th> |
| <td class="colLast"> |
| <div class="block">Constructs a <code>java.util.stream.Collector</code> that accumulates the input <code>JsonValue</code> |
| elements into a <code>JsonObject</code>.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../stream/package-summary.html">jakarta.json.stream</a> with parameters of type <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../stream/JsonGenerator.html" title="interface in jakarta.json.stream">JsonGenerator</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonGenerator.</span><code><span class="memberNameLink"><a href="../stream/JsonGenerator.html#write(jakarta.json.JsonValue)">write</a></span>​(<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Writes the specified value as a JSON value within |
| the current array, field or root context.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../stream/JsonGenerator.html" title="interface in jakarta.json.stream">JsonGenerator</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonGenerator.</span><code><span class="memberNameLink"><a href="../stream/JsonGenerator.html#write(java.lang.String,jakarta.json.JsonValue)">write</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> name, |
| <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Writes a JSON name/value pair in the current object context.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Method parameters in <a href="../stream/package-summary.html">jakarta.json.stream</a> with type arguments of type <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/Collector.html?is-external=true" title="class or interface in java.util.stream" class="externalLink">Collector</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>,​<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="../JsonArrayBuilder.html" title="interface in jakarta.json">JsonArrayBuilder</a>>,​<a href="../JsonObject.html" title="interface in jakarta.json">JsonObject</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonCollectors.</span><code><span class="memberNameLink"><a href="../stream/JsonCollectors.html#groupingBy(java.util.function.Function)">groupingBy</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Function</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>,​<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> classifier)</code></th> |
| <td class="colLast"> |
| <div class="block">Constructs a <code>java.util.stream.Collector</code> that implements a "group by" operation on the |
| input <code>JsonValue</code> elements.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <T extends <a href="../JsonArrayBuilder.html" title="interface in jakarta.json">JsonArrayBuilder</a>><br><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/Collector.html?is-external=true" title="class or interface in java.util.stream" class="externalLink">Collector</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>,​<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​T>,​<a href="../JsonObject.html" title="interface in jakarta.json">JsonObject</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonCollectors.</span><code><span class="memberNameLink"><a href="../stream/JsonCollectors.html#groupingBy(java.util.function.Function,java.util.stream.Collector)">groupingBy</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Function</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>,​<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> classifier, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/Collector.html?is-external=true" title="class or interface in java.util.stream" class="externalLink">Collector</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>,​T,​<a href="../JsonArray.html" title="interface in jakarta.json">JsonArray</a>> downstream)</code></th> |
| <td class="colLast"> |
| <div class="block">Constructs a <code>java.util.stream.Collector</code> that implements a "group by" operation on the |
| input <code>JsonValue</code> elements.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <T extends <a href="../JsonArrayBuilder.html" title="interface in jakarta.json">JsonArrayBuilder</a>><br><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/Collector.html?is-external=true" title="class or interface in java.util.stream" class="externalLink">Collector</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>,​<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​T>,​<a href="../JsonObject.html" title="interface in jakarta.json">JsonObject</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonCollectors.</span><code><span class="memberNameLink"><a href="../stream/JsonCollectors.html#groupingBy(java.util.function.Function,java.util.stream.Collector)">groupingBy</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Function</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>,​<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> classifier, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/Collector.html?is-external=true" title="class or interface in java.util.stream" class="externalLink">Collector</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>,​T,​<a href="../JsonArray.html" title="interface in jakarta.json">JsonArray</a>> downstream)</code></th> |
| <td class="colLast"> |
| <div class="block">Constructs a <code>java.util.stream.Collector</code> that implements a "group by" operation on the |
| input <code>JsonValue</code> elements.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/Collector.html?is-external=true" title="class or interface in java.util.stream" class="externalLink">Collector</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>,​<a href="../JsonObjectBuilder.html" title="interface in jakarta.json">JsonObjectBuilder</a>,​<a href="../JsonObject.html" title="interface in jakarta.json">JsonObject</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonCollectors.</span><code><span class="memberNameLink"><a href="../stream/JsonCollectors.html#toJsonObject(java.util.function.Function,java.util.function.Function)">toJsonObject</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Function</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>,​<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> keyMapper, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Function</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>,​<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>> valueMapper)</code></th> |
| <td class="colLast"> |
| <div class="block">Constructs a <code>java.util.stream.Collector</code> that accumulates the input <code>JsonValue</code> |
| elements into a <code>JsonObject</code>.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section role="region"><a id="org.glassfish.json"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> in <a href="../../../org/glassfish/json/package-summary.html">org.glassfish.json</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../../org/glassfish/json/package-summary.html">org.glassfish.json</a> that return <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonMergePatchImpl.</span><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonMergePatchImpl.html#apply(jakarta.json.JsonValue)">apply</a></span>​(<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> target)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonParserImpl.</span><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#getValue()">getValue</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonPointerImpl.</span><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonPointerImpl.html#getValue(jakarta.json.JsonStructure)">getValue</a></span>​(<a href="../JsonStructure.html" title="interface in jakarta.json">JsonStructure</a> target)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the value at the referenced location in the specified <code>target</code></div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonUtil.</span><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonUtil.html#toJson(java.lang.String)">toJson</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> jsonString)</code></th> |
| <td class="colLast"> |
| <div class="block">Reads the input JSON text and returns a JsonValue.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonMergePatchImpl.</span><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonMergePatchImpl.html#toJsonValue()">toJsonValue</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../../org/glassfish/json/package-summary.html">org.glassfish.json</a> that return types with arguments of type <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream" class="externalLink">Stream</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonParserImpl.</span><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#getArrayStream()">getArrayStream</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream" class="externalLink">Stream</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util" class="externalLink">Map.Entry</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonParserImpl.</span><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#getObjectStream()">getObjectStream</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream" class="externalLink">Stream</a><<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonParserImpl.</span><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#getValueStream()">getValueStream</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../../org/glassfish/json/package-summary.html">org.glassfish.json</a> with parameters of type <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../JsonPatchBuilder.html" title="interface in jakarta.json">JsonPatchBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonPatchBuilderImpl.</span><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonPatchBuilderImpl.html#add(java.lang.String,jakarta.json.JsonValue)">add</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> path, |
| <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds an "add" JSON Patch operation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../JsonStructure.html" title="interface in jakarta.json">JsonStructure</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonPointerImpl.</span><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonPointerImpl.html#add(jakarta.json.JsonStructure,jakarta.json.JsonValue)">add</a></span>​(<a href="../JsonStructure.html" title="interface in jakarta.json">JsonStructure</a> target, |
| <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds or replaces a value at the referenced location in the specified |
| <code>target</code> with the specified <code>value</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonMergePatchImpl.</span><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonMergePatchImpl.html#apply(jakarta.json.JsonValue)">apply</a></span>​(<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> target)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../JsonMergePatch.html" title="interface in jakarta.json">JsonMergePatch</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonProviderImpl.</span><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonProviderImpl.html#createMergeDiff(jakarta.json.JsonValue,jakarta.json.JsonValue)">createMergeDiff</a></span>​(<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> source, |
| <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> target)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../JsonMergePatch.html" title="interface in jakarta.json">JsonMergePatch</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonProviderImpl.</span><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonProviderImpl.html#createMergePatch(jakarta.json.JsonValue)">createMergePatch</a></span>​(<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> patch)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../JsonPatchBuilder.html" title="interface in jakarta.json">JsonPatchBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonPatchBuilderImpl.</span><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonPatchBuilderImpl.html#replace(java.lang.String,jakarta.json.JsonValue)">replace</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> path, |
| <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds a "replace" JSON Patch operation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../JsonStructure.html" title="interface in jakarta.json">JsonStructure</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonPointerImpl.</span><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonPointerImpl.html#replace(jakarta.json.JsonStructure,jakarta.json.JsonValue)">replace</a></span>​(<a href="../JsonStructure.html" title="interface in jakarta.json">JsonStructure</a> target, |
| <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Replaces the value at the referenced location in the specified |
| <code>target</code> with the specified <code>value</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../JsonPatchBuilder.html" title="interface in jakarta.json">JsonPatchBuilder</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">JsonPatchBuilderImpl.</span><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonPatchBuilderImpl.html#test(java.lang.String,jakarta.json.JsonValue)">test</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> path, |
| <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds a "test" JSON Patch operation.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Constructors in <a href="../../../org/glassfish/json/package-summary.html">org.glassfish.json</a> with parameters of type <a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonMergePatchImpl.html#%3Cinit%3E(jakarta.json.JsonValue)">JsonMergePatchImpl</a></span>​(<a href="../JsonValue.html" title="interface in jakarta.json">JsonValue</a> patch)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </main> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="../../../module-summary.html">Module</a></li> |
| <li><a href="../package-summary.html">Package</a></li> |
| <li><a href="../JsonValue.html" title="interface in jakarta.json">Class</a></li> |
| <li class="navBarCell1Rev">Use</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 class="aboutLanguage"><br>JSON Processing API v2.0.0</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses.html">All 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> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Comments to: <a href="mailto:jsonp-dev@eclipse.org">jsonp-dev@eclipse.org</a>.<br> Copyright © 2019, 2020 Eclipse Foundation. All rights reserved.<br> Use is subject to <a href="../../../../doc-files/speclicense.html" target="_top">license terms</a>.</small></p> |
| </footer> |
| </body> |
| </html> |