Skip to content
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

[Question]: Retrieve serializer in KSP #2306

Open
Distractic opened this issue Jan 27, 2025 · 0 comments
Open

[Question]: Retrieve serializer in KSP #2306

Distractic opened this issue Jan 27, 2025 · 0 comments

Comments

@Distractic
Copy link

Hello!

In my SymbolProcessor, I would like to retrieve the Serializer generated by Kotlin-serialization.

However, from a KSClassDeclaration, I can't find a way to get it.

Kotlin-serialization provides a method to retrieve serializer from KType or KClass.

Do you know:

  • If it's possible to get a class generated by a plugin in KSP?
  • How to retrieve the serializer from KSClassDeclaration?

Have a good day

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant