File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
api/src/main/java/javax/json/bind/adapter Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2016, 2018 Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2016, 2019 Oracle and/or its affiliates. All rights reserved.
3
3
*
4
4
* This program and the accompanying materials are made available under the
5
5
* terms of the Eclipse Public License v. 2.0, which is available at
@@ -71,8 +71,8 @@ public interface JsonbAdapter<Original, Adapted> {
71
71
* After conversion Adapted type will be mapped to JSON the standard way.
72
72
*
73
73
* @param obj
74
- * Object to convert.
75
- * @return Converted object which will be serialized to JSON.
74
+ * Object to convert or {@code null} .
75
+ * @return Converted object which will be serialized to JSON or {@code null} .
76
76
* @throws Exception if there is an error during the conversion.
77
77
*/
78
78
Adapted adaptToJson (Original obj ) throws Exception ;
@@ -81,8 +81,8 @@ public interface JsonbAdapter<Original, Adapted> {
81
81
* This method is used on deserialization only. It contains a conversion logic from type Adapted to type Original.
82
82
*
83
83
* @param obj
84
- * Object to convert.
85
- * @return Converted object representing pojo to be set into object graph.
84
+ * Object to convert or {@code null} .
85
+ * @return Converted object representing pojo to be set into object graph or {@code null} .
86
86
* @throws Exception if there is an error during the conversion.
87
87
*/
88
88
Original adaptFromJson (Adapted obj ) throws Exception ;
You can’t perform that action at this time.
0 commit comments