jcabi / jcabi/jcabi-github

Casting to User Object

Open
#1,187 7 comments 0 reactions 0 assignees View on GitHub
bug DEV
Dominant language
Java
Stars
307
Forks
144
Avg merge
1d 22h
Merged PRs (30d)
14

Description

`Exception in thread "main" java.lang.ClassCastException: org.glassfish.json.JsonNumberImpl$JsonIntNumber cannot be cast to javax.json.JsonString`

```
Github github = new RtGithub(authToken);

for (User user : github.users().iterate("")) {
System.out.println(user.json());
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.