File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
main/java/com/baeldung/gson/entities
test/java/com/baeldung/gson Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1313
1414 <properties >
1515 <gson-version >2.12.1</gson-version >
16+ <junit-version >4.13.1</junit-version >
1617 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
1718 </properties >
1819 <dependencies >
1920 <dependency >
2021 <groupId >junit</groupId >
2122 <artifactId >junit</artifactId >
22- <version >4.13.1 </version >
23+ <version >${junit-version} </version >
2324 <scope >test</scope >
2425 </dependency >
2526 <dependency >
Original file line number Diff line number Diff line change 1+ package com .baeldung .gson .entities ;
2+
13import com .google .gson .annotations .Expose ;
24import com .google .gson .annotations .SerializedName ;
35
Original file line number Diff line number Diff line change 1+ package com .baeldung .gson ;
2+
13import static org .junit .jupiter .api .Assertions .assertEquals ;
24import static org .junit .jupiter .api .Assertions .assertNull ;
35
46import org .junit .jupiter .api .Test ;
57
8+ import com .baeldung .gson .entities .User ;
69import com .google .gson .Gson ;
710import com .google .gson .GsonBuilder ;
811
You can’t perform that action at this time.
0 commit comments