emfjson / emfjson-jackson

JSON Binding for Eclipse Modeling Framework
https://emfjson.github.io
Other
80 stars 23 forks source link

Jackson2 #32

Closed vorburger closed 11 years ago

vorburger commented 11 years ago

Hello Guillaume,

emfjson looks cool - just what I need for something I have in mind! ;) Thanks for your work.

The thing I'd like to integrate emfjson with requires Jackson2, and is (non-OSGi) JavaSE, so I cannot have both.

I've just spent a moment trying to make necessary changes to upgrade from the Jackson v1.6.0 you're currently using to a Jackson 2.2.2 I'd need, and it doesn't seem too hard.. they've just changed some package and API names - easy to adapt, see diff. With this, it compiles (no more red) for me under Jackson2.

But this alone doesn't compile yet of course... as I don't have a Jackson2 in my target platform. Do you know how this could be done? Should one of us raise a request to get Jackson2 into Orbit (which currently only has 1.6.0) ?

Thanks.

ghillairet commented 11 years ago

Thanks for this, that's something I was planning to do. You can send a request to get jackson2 in Orbit if you want but anyway I will put the bundles in my repository here https://github.com/ghillairet/p2.

ghillairet commented 11 years ago

Done in https://github.com/ghillairet/emfjson/commit/ed261fe06f1083e73747e3fa6f074c40c005e9c4

ghillairet commented 11 years ago

The update site for jackson 2.2.3 is available here http://ghillairet.github.com/p2/jackson2/2.2.3 or simply http://ghillairet.github.com/p2