File tree 1 file changed +4
-4
lines changed
src/main/kotlin/com/fasterxml/jackson/module/kotlin
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -157,18 +157,18 @@ inline fun <reified T> ObjectMapper.convertValue(from: Any?): T = convertValue(f
157
157
.checkTypeMismatch()
158
158
159
159
/* *
160
- * Shorthand for [ObjectMapper .readValue].
160
+ * Shorthand for [ObjectReader .readValue].
161
161
* @throws RuntimeJsonMappingException Especially if [T] is non-null and the value read is null.
162
162
* Other cases where the read value is of a different type than [T]
163
- * due to an incorrect customization to [ObjectMapper ].
163
+ * due to an incorrect customization to [ObjectReader ].
164
164
*/
165
165
inline fun <reified T > ObjectReader.readValueTyped (jp : JsonParser ): T = readValue(jp, jacksonTypeRef<T >())
166
166
.checkTypeMismatch()
167
167
/* *
168
- * Shorthand for [ObjectMapper .readValues].
168
+ * Shorthand for [ObjectReader .readValues].
169
169
* @throws RuntimeJsonMappingException Especially if [T] is non-null and the value read is null.
170
170
* Other cases where the read value is of a different type than [T]
171
- * due to an incorrect customization to [ObjectMapper ].
171
+ * due to an incorrect customization to [ObjectReader ].
172
172
*/
173
173
inline fun <reified T > ObjectReader.readValuesTyped (jp : JsonParser ): Iterator <T > {
174
174
val values = readValues(jp, jacksonTypeRef<T >())
You can’t perform that action at this time.
0 commit comments