larksuite / larksuite/oapi-sdk-java
麻烦更新下 多维表格的pojo
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 310
- Forks
- 115
- PR merge metrics
- No merged PRs in 30d
Description
AppTableRecord
接口返回的json中created_time为long 类型,pojo中为integer,请求后返回体json反序列化失败
com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: Expected an int but was 1670748023000 at line 1 column 153 path $.data.record.created_time
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open larksuite-oapi/src/main/java/com/lark/oapi/service/bitable/v1/model/AppTableRecord.java and inspect the created_time field and its JSON mapping. Compare its declared type with the returned value shown in the issue, then reproduce the AppTableRecord response deserialization. Done means the reported JSON no longer fails with a NumberFormatException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100