2 ms·
The tricks that Play JSON does don't need runtime reflection. Macros don't use runtime capabilities at all and all macros work in Scala.js. I'm actually surpris
by bad_user 11y ago
The tricks that Play JSON does don't need runtime reflection. Macros don't use runtime capabilities at all and all macros work in Scala.js. I'm actually surprised by claims of Play JSON needing the runtime reflection of "scala.reflect".
No, Play JSON doesn't work because it wraps Jackson, a Java library.
- grogs 11y agoYour correct that it probably doesn't use scala.reflect, but it still uses reflection. Jackson works using reflection. Play JSON therefore at least depends on reflection transatively.