metosin / jsonista

Clojure library for fast JSON encoding and decoding.
https://cljdoc.org/d/metosin/jsonista
Eclipse Public License 2.0
422 stars 30 forks source link

Remove reflection on ObjectMapper #47

Closed dpassen closed 3 years ago

dpassen commented 3 years ago

Before:

$ lein do clean, check
Compiling 11 source files to /Users/dpassen/apps/jsonista/target/classes
Compiling namespace jsonista.core
Reflection warning, jsonista/core.clj:139:19 - call to method registerModule can't be resolved (target class is unknown).
Reflection warning, jsonista/core.clj:140:19 - call to method registerModule can't be resolved (target class is unknown).
Reflection warning, jsonista/core.clj:142:39 - call to method enable can't be resolved (target class is unknown).
Reflection warning, jsonista/core.clj:143:44 - call to method enable can't be resolved (target class is unknown).
Reflection warning, jsonista/core.clj:144:71 - reference to field getFactory can't be resolved.
Reflection warning, jsonista/core.clj:144:71 - call to method enable can't be resolved (target class is unknown).
Reflection warning, jsonista/core.clj:146:8 - call to method registerModule can't be resolved (target class is unknown).
Reflection warning, jsonista/core.clj:146:8 - call to method registerModule can't be resolved (target class is unknown).
Reflection warning, jsonista/core.clj:147:6 - call to method disable can't be resolved (target class is unknown).
Compiling namespace jsonista.tagged

After:

$ lein do clean, check
Compiling 11 source files to /Users/dpassen/apps/jsonista/target/classes
Compiling namespace jsonista.core
Compiling namespace jsonista.tagged
ikitommi commented 3 years ago

thanks!