Skip to content

Commit 74263ca

Browse files
committed
Improved documentation
1 parent cc6bf54 commit 74263ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

user-guide-readOptions.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ ReadOptions readOptions = new ReadOptionsBuilder()
77
.feature2(args)
88
.build();
99
JsonIo.toJava(json, readOptions).asClass(Employee.class);
10+
11+
// Use a TypeHolder to specify the return type
12+
JsonIo.toJava(json, readOptions).asType(new TypeHolder<String, List<Long>>(){});
1013
```
1114
**Detailed Steps:**
1215

0 commit comments

Comments
 (0)