60
60
public interface Jsonb {
61
61
62
62
/**
63
- * Create and return a new Jsonb.Builder to configure before building the Jsonb instance.
63
+ * Create a new Jsonb.Builder to configure and build the Jsonb instance.
64
64
* <p>
65
65
* We can register JsonAdapter's to use for specific types before building and returning
66
66
* the Jsonb instance to use.
@@ -87,22 +87,22 @@ static Builder newBuilder() {
87
87
}
88
88
89
89
/**
90
- * Return JSON content for the given object.
90
+ * Return json content for the given object.
91
91
* <p>
92
92
* This is a convenience method for using {@code jsonb.type(Object.class).toJson(any) }
93
93
*
94
- * @param any The object to return as JSON string
95
- * @return Return JSON content for the given object.
94
+ * @param any The object to return as json string
95
+ * @return Return json content for the given object.
96
96
*/
97
97
String toJson (Object any );
98
98
99
99
/**
100
- * Return JSON content in pretty format for the given object.
100
+ * Return json content in pretty format for the given object.
101
101
* <p>
102
102
* This is a convenience method for using {@code jsonb.type(Object.class).toJsonPretty(any) }
103
103
*
104
- * @param any The object to return as JSON string in pretty format
105
- * @return Return JSON content in pretty format for the given object.
104
+ * @param any The object to return as json string in pretty format
105
+ * @return Return json content in pretty format for the given object.
106
106
*/
107
107
String toJsonPretty (Object any );
108
108
@@ -133,7 +133,7 @@ static Builder newBuilder() {
133
133
* is determined dynamically based on the type of the object value passed in.
134
134
* <p>
135
135
* When using <code>Object.class</code> and reading <code>fromJson()</code> then the java types used in
136
- * the result are determined dynamically based on the JSON types being read and the resulting java types
136
+ * the result are determined dynamically based on the json types being read and the resulting java types
137
137
* are ArrayList, LinkedHashMap, String, boolean, and double.
138
138
*/
139
139
<T > JsonType <T > type (Class <T > cls );
@@ -163,7 +163,7 @@ static Builder newBuilder() {
163
163
* is determined dynamically based on the type of the object value passed in.
164
164
* <p>
165
165
* When using <code>Object.class</code> and reading <code>fromJson()</code> then the java types used in
166
- * the result are determined dynamically based on the JSON types being read and the resulting java types
166
+ * the result are determined dynamically based on the json types being read and the resulting java types
167
167
* are ArrayList, LinkedHashMap, String, boolean, and double.
168
168
*/
169
169
<T > JsonType <T > type (Type type );
0 commit comments