Why does json4s need a Scala compiler as a runtime dependency -
i've discovered using json4s native
<dependency> <groupid>org.json4s</groupid> <artifactid>json4s-native_2.10</artifactid> <version>3.2.9</version> </dependency>
brings scalap , scala-compiler dependencies.
why need it?
does generate code on fly @ runtime?
why doesn't use macros processing @ compile time?
the people of json4s have answered me in this issue following:
because need read byte code find out information scala primitives. more necessary on 2.9 on 2.10
Comments
Post a Comment