I'm wondering if it's possible to share Web-API consumer between platforms - Including JSON deserialization into .net objects.
I've done this a few times using simple HttpWebRequest calls with Json.Net decoding.
Some example of this are:
I'm very much looking forwards to async/await and using HttpClient
I'm also doing some work with sharing my web services code, as well as all of my database code on my side-project app Verses. Note: Don't use this as a guide for your cross-platform development! I only plan on making an iOS version, so I haven't tried to share as much code as possible. Although, I have shared some things that clearly needed to be abstracted to a different library.
You may also want to check out our Building Cross Platform Apps doc that details lots of things in code that you can share, as well as how to setup your solution for this type of approach.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies