You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+65-3Lines changed: 65 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,10 @@ Provides a compatibility layer for JSON handling to abstract away breaking chang
10
10
11
11
## Features
12
12
13
-
Detects the runtime version and uses version-specific helpers to ensure that code calling its methods does not need to be aware of underlying Vaadin API changes.
13
+
-**Zero-effort migration**: Write your code once and run it seamlessly on Vaadin 14, 23, 24 and 25
14
+
-**Automatic version detection**: Detects the runtime Vaadin version and uses the appropriate JSON handling strategy
15
+
-**Drop-in replacement**: Simple static methods that replace version-specific APIs
16
+
14
17
15
18
## Download release
16
19
@@ -84,9 +87,68 @@ Json Migration Helper is written by Flowing Code S.A.
84
87
85
88
# Developer Guide
86
89
87
-
## Getting started
90
+
## Using Lombok @ExtensionMethod
91
+
92
+
The `JsonMigration` class is designed to be used with Lombok's `@ExtensionMethod` annotation. This allows you to call the helper methods as if they were instance methods of `Element` or `DomEvent`:
0 commit comments