-
-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add java json API #990
Add java json API #990
Conversation
It would be a good idea to add serialisation/deserialisation helpers as well |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Meant objects instead of just strings, but this will do for now
It allows for serialization of JsonPrimitive, JsonArray and JsonObject |
But what about public record MyTrackUserData(long userId, String anotherArg) {} Currently it cannot handle this for java users |
Well yeah, but kotlinx.serialization has a compiler plugin, which generates the serializer (this is what @serializable does), you cannot do that for a java record, so I can't handle that |
replaced by lavalink-devs/lavalink-client#12 |
No description provided.