Skip to content

Commit a7ae5a4

Browse files
authored
fix: add version information for Hilla paper cuts
Update type-conversion.adoc with Vaadin version information
1 parent 79127b6 commit a7ae5a4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

articles/hilla/lit/reference/type-conversion.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ public class MyBean {
309309
}
310310
----
311311

312-
312+
[role="since:com.vaadin:vaadin@V24.5"]
313313
=== JsonNode
314314

315315
The `JsonNode` Jackson type can be used to receive any kind of JSON object in Java. The `JsonNode` type is a tree model for JSON objects, and it can be used to navigate through the JSON object. The `JsonNode` type is converted to a TypeScript object with the type `unknown`. This means that the client-side code must correctly handle the type.
@@ -366,7 +366,7 @@ By default, the [classname]`ObjectMapper` converts Java's date time to a string
366366
- `java.time.LocalDate` of `00:00:00 January 1st, 2019` => `'2019-01-01'`
367367
- `java.time.LocalDateTime` of `00:00:00 January 1st, 2019` => `'2019-01-01T00:00:00'`
368368

369-
369+
[role="since:com.vaadin:vaadin@V24.5"]
370370
=== JsonNode
371371

372372
The `JsonNode` type in Java allows to send an arbitrary JSON to the client. It's converted to `unknown` in TypeScript. This means that the client-side code must handle correctly the type.
@@ -530,6 +530,7 @@ public class Sale {
530530
}
531531
----
532532

533+
[role="since:com.vaadin:vaadin@V24.5"]
533534
=== `@JsonCreator` & `@JsonValue` Annotations (Domain Objects)
534535

535536
The `@JsonCreator` and `@JsonValue` annotations are powerful tools in the Jackson JSON library that allow you to create domain objects, also known as single-value objects.

0 commit comments

Comments
 (0)