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

consider using ScalaSigParser to fight type erasure #25

Open
stephanos opened this issue May 19, 2011 · 7 comments
Open

consider using ScalaSigParser to fight type erasure #25

stephanos opened this issue May 19, 2011 · 7 comments
Assignees

Comments

@stephanos
Copy link

There is this project called 'Salat' here on Github that is able to serialize case classes without any 'help' from annotations.
Have a look: https://github.com/novus/salat/wiki/Design

Maybe this mechanism could be build into sjson?

@ghost ghost assigned debasishg May 19, 2011
@debasishg
Copy link
Owner

Cool. Will look into it. Any idea where I can get some documentation on ScalaSigParser or I need to look into scalap source code .. Thanks for the suggestion.

@stephanos
Copy link
Author

well on https://github.com/novus/salat under "Requires ScalaSig" the author of the library mentions something about it. I think the documentation is quite sparse, but I bet that by looking into the Salat source code it may become clear how to use it, that are the benefits of open source after all :-)

@stephanos stephanos reopened this May 19, 2011
@stephanos
Copy link
Author

oops, wrong button :-)

@ritschwumm
Copy link

salat afaik uses scalap and thus requires scala-compiler.jar in the classpath which i find a bit ugly.
imho you better wait for scala 2.10's reflection api - or steal my code from https://github.com/ritschwumm/scjson/tree/master/src/main/scala/scjson/reflection .

@debasishg
Copy link
Owner

That's precisely the reason I have not started w/ scalap. Waiting for 2.10 is what I was looking at. But if I get it now, why not steal it. Will have a look over the weekend. Thanks a lot ..

@ikester
Copy link

ikester commented Dec 2, 2011

Looking forward to seeing some experiments with ScalaSigParser!

It seems to be working fine for the Salat guys, mapping case classes to MongoDB objects:
https://github.com/novus/salat

@debasishg
Copy link
Owner

I have seen it working in salat. I have plans too. Just need some time. Or maybe wait for 2.10 reflection apis ..

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

4 participants