1
1
< html >
2
2
<!--
3
3
4
- Copyright (c) 2013, 2020 Oracle and/or its affiliates. All rights reserved.
4
+ Copyright (c) 2013, 2021 Oracle and/or its affiliates. All rights reserved.
5
5
6
6
This program and the accompanying materials are made available under the
7
7
terms of the Eclipse Public License v. 2.0, which is available at
@@ -52,13 +52,13 @@ <h1>The Streaming API</h1>
52
52
application code controls the thread and calls methods in the parser interface
53
53
to move the parser forward or to obtain JSON data from the current state of
54
54
the parser. Refer to
55
- < a href ="jakarta/json/stream/JsonParser.html#JsonParserExample2 "> this example</ a >
55
+ < a href ="jakarta.json/jakarta /json/stream/JsonParser.html#JsonParserExample2 "> this example</ a >
56
56
for more details.
57
57
58
58
< p > {@code JsonGenerator} provides methods to write JSON to a stream. The
59
59
generator writes name/value pairs in JSON objects and values in JSON arrays.
60
60
Refer to
61
- < a href ="jakarta/json/stream/JsonGenerator.html#JsonGeneratorExample3 "> this
61
+ < a href ="jakarta.json/jakarta /json/stream/JsonGenerator.html#JsonGeneratorExample3 "> this
62
62
example</ a > for more details.
63
63
64
64
< p > The streaming API is a low-level API designed to process large amounts of
@@ -79,22 +79,22 @@ <h1>The Object Model API</h1>
79
79
Application code can use the interface {@link jakarta.json.JsonObjectBuilder}
80
80
to create models that represent JSON objects. The resulting model is of type
81
81
{@code JsonObject}. Refer to
82
- < a href ="jakarta/json/JsonObjectBuilder.html#JsonObjectBuilderExample1 "> this example</ a >
82
+ < a href ="jakarta.json/jakarta /json/JsonObjectBuilder.html#JsonObjectBuilderExample1 "> this example</ a >
83
83
for more details. Application code can use the interface
84
84
{@link jakarta.json.JsonArrayBuilder} to create models that represent JSON arrays.
85
85
The resulting model is of type {@code JsonArray}. Refer to
86
- < a href ="jakarta/json/JsonArrayBuilder.html#JsonArrayBuilderExample1 "> this example</ a >
86
+ < a href ="jakarta.json/jakarta /json/JsonArrayBuilder.html#JsonArrayBuilderExample1 "> this example</ a >
87
87
for more details.
88
88
89
89
< p > These object models can also be created from an input source (such as
90
90
{@link java.io.InputStream} or {@link java.io.Reader}) using the interface
91
91
{@link jakarta.json.JsonReader}.
92
- < a href ="jakarta/json/JsonReader.html#JsonReaderExample1 "> This example</ a > shows
92
+ < a href ="jakarta.json/jakarta /json/JsonReader.html#JsonReaderExample1 "> This example</ a > shows
93
93
how to read and create an empty {@code JsonArray} model using the interface
94
94
{@code JsonReader}. Similarly, these object models can be written to an output
95
95
source (such as {@link java.io.OutputStream} or {@link java.io.Writer}) using
96
96
the class {@link jakarta.json.JsonWriter}.
97
- < a href ="jakarta/json/JsonWriter.html#JsonWriterExample1 "> This example</ a > shows
97
+ < a href ="jakarta.json/jakarta /json/JsonWriter.html#JsonWriterExample1 "> This example</ a > shows
98
98
how to write an empty {@code JsonObject} model using the interface
99
99
{@code JsonWriter}.
100
100
0 commit comments