Skip to content

Commit

Permalink
fix JsonParser javadoc
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Wrobel <marc.wrobel@gmail.com>
  • Loading branch information
marcwrobel committed Dec 21, 2022
1 parent 04b4354 commit 2c39308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/main/java/jakarta/json/stream/JsonParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
* while (parser.hasNext() {
* Event event = parser.next();
* if (event == JsonParser.Event.KEY_NAME ) {
* String key = getString();
* String key = parser.getString();
* event = parser.next();
* if (key.equals("phoneNumber") {
* JsonArray phones = parser.getArray();
Expand Down

0 comments on commit 2c39308

Please sign in to comment.