Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Switch to Jackson for JSON parsing for OTP Server responses, instead of Simple XML and XML #2

Closed
barbeau opened this issue Oct 25, 2012 · 2 comments

Comments

@barbeau
Copy link
Member

barbeau commented Oct 25, 2012

This will allow us to use JSON instead of XML on Android, and will hopefully make future updates to new OTP server REST API versions easier since with Jackson few class annotations are required. Using Simple XML, we'd had to strip out the server-side annotations, then re-annotate with Simple XML annotations. Jackson has only required a few annotations so far.

See this page for details:
https://github.com/CUTR-at-USF/OTP-Java-Client/wiki/HOWTO-modify-code-to-reflect-changes-from-main-OTP

@barbeau
Copy link
Member Author

barbeau commented Oct 29, 2012

Original testing for this only included a URL for walk-only trips. Upon testing with transit trips that include additional elements in the JSON response, we still have to resolve a few errors with these objects.

@barbeau
Copy link
Member Author

barbeau commented Nov 6, 2012

Fixed in a series of commits, ending with 2b8fd68.

@barbeau barbeau closed this as completed Nov 6, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant