File tree Expand file tree Collapse file tree 4 files changed +10
-7
lines changed
src/main/java/vertx/model Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 28
28
<version >${stack.version} </version >
29
29
</dependency >
30
30
<dependency >
31
- <groupId >com.fasterxml.jackson.core </groupId >
32
- <artifactId >jackson-core </artifactId >
33
- <version >${jackson.version} </version >
31
+ <groupId >com.dslplatform </groupId >
32
+ <artifactId >dsl-json </artifactId >
33
+ <version >2.0.2 </version >
34
34
</dependency >
35
35
<dependency >
36
36
<groupId >com.julienviet</groupId >
37
37
<artifactId >jsonsergen</artifactId >
38
- <version >0.0.4 </version >
38
+ <version >0.0.5 </version >
39
39
</dependency >
40
40
<dependency >
41
41
<groupId >io.netty</groupId >
Original file line number Diff line number Diff line change 1
1
package vertx .model ;
2
2
3
+ import com .julienviet .jsonsergen .Backend ;
3
4
import com .julienviet .jsonsergen .JsonSerGen ;
4
5
import io .vertx .codegen .annotations .DataObject ;
5
6
import io .vertx .core .buffer .Buffer ;
10
11
* The model for the "world" database table.
11
12
*/
12
13
@ DataObject
13
- @ JsonSerGen
14
+ @ JsonSerGen ( backends = Backend . DSL_JSON )
14
15
public final class CachedWorld implements Comparable <CachedWorld > {
15
16
16
17
private final int id ;
Original file line number Diff line number Diff line change 1
1
package vertx .model ;
2
2
3
+ import com .julienviet .jsonsergen .Backend ;
3
4
import com .julienviet .jsonsergen .JsonSerGen ;
4
5
import io .vertx .codegen .annotations .DataObject ;
5
6
import io .vertx .core .buffer .Buffer ;
6
7
7
8
@ DataObject
8
- @ JsonSerGen
9
+ @ JsonSerGen ( backends = Backend . DSL_JSON )
9
10
public class Message {
10
11
11
12
private String message ;
Original file line number Diff line number Diff line change 1
1
package vertx .model ;
2
2
3
+ import com .julienviet .jsonsergen .Backend ;
3
4
import com .julienviet .jsonsergen .JsonSerGen ;
4
5
import io .vertx .codegen .annotations .DataObject ;
5
6
import io .vertx .core .buffer .Buffer ;
8
9
* The model for the "world" database table.
9
10
*/
10
11
@ DataObject
11
- @ JsonSerGen
12
+ @ JsonSerGen ( backends = Backend . DSL_JSON )
12
13
public final class World implements Comparable <World > {
13
14
14
15
private final int id ;
You can’t perform that action at this time.
0 commit comments