-
-
Notifications
You must be signed in to change notification settings - Fork 142
Scala collections support #4
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
Conversation
…rializers into 1.7.1 module
added ScalaModule serializers and deserializers
|
Ok, one issue is that scalatest is not available from central maven repo. I guess it should be possible to add secondary maven repository using scm tag, will try to figure it out (but why don't they publish it to central?) |
|
Some issues:
|
|
Ah. Actually, serializers are written in scala, so they'd have to be first compiled... |
|
I'm not all that familiar with maven, but I believe I have it compiling scala first, then java. Seems to compile for me... I updated the pom to reference the scalatest.org maven repo, according to the info at: I'll take a lok at the serializers/deserializers graph. I did very little to the existing code to get it into the module api. Hopefully it shouldn't be much work to remove the old implementations. |
…ed the ScalaEnumerationSerializer
…tionDeserializer by wrapping the scala List in a Java list.
|
Ok: merged this into master; more work is needed to make things work but this is a good start. |
Hi,
I just pulled together the code from this ticket:
http://jira.codehaus.org/browse/JACKSON-211
and moved it into the new Scala module project. I've only tested the serializers today thus far; I've also made it work in RESTEasy with a custom Provider to register the ObjectMapper with the new ScalaModule (not sure where to put that little class yet. It depends on jaxrs, and gets pulled in automagically via RESTEasy/Jaxrs).
I'm using ScalaTest for my test cases. I'm new to maven, so I'm not sure the process to get general access to the ScalaTest libraries via a repository. I just installed them locally from http://scalatest.org/.
I'll see what I can do with more testing today and tomorrow.