Jackson JSON Processor

Make Jackson run on Android platform

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

There is some interest in using Jackson on Google's Android platform, and it would be good if Jackson did indeed run on it. Based on help from users who have checked it out there are some minor issues with some classes that are part of JDK 1.5 but not Android's core class library.

One example is that javax.xml.datatype.XMLGregorianCalendar" is missing (which is easy enough to resolve, because class reference is not really needed and serialization is done using generic toString() method.
To figure out other possible problems, need to at least check that Jackson compiles using Android compiler+VM or Eclipse with plug-in.

Activity

Hide
Tatu Saloranta added a comment -

Although code compiles ok, it looks like JsonGenerator.writeValue() will cause problems when running on Eclipse Android emulator plug-in. Haven't yet seen a stack trace or similar to indicate exactly where/what happens.

Show
Tatu Saloranta added a comment - Although code compiles ok, it looks like JsonGenerator.writeValue() will cause problems when running on Eclipse Android emulator plug-in. Haven't yet seen a stack trace or similar to indicate exactly where/what happens.
Hide
Tatu Saloranta added a comment -

Problem I saw was due to reference to javax.xml.data.XMLGregorianCalendar (was still using plain 0.9.6 jars). After changing reference to use class name, not class instance, code does run ok on emulator. So this may have been resolved, but I want to get an independent verification if possible.

Show
Tatu Saloranta added a comment - Problem I saw was due to reference to javax.xml.data.XMLGregorianCalendar (was still using plain 0.9.6 jars). After changing reference to use class name, not class instance, code does run ok on emulator. So this may have been resolved, but I want to get an independent verification if possible.
Hide
Tatu Saloranta added a comment -

I think the problem was resolved for now; may need to revisit in future.

Show
Tatu Saloranta added a comment - I think the problem was resolved for now; may need to revisit in future.
Hide
Tatu Saloranta added a comment -

Was included in 0.9.7 release.

Show
Tatu Saloranta added a comment - Was included in 0.9.7 release.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: