NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 14 15 16 17 18 … 93 Next »
Using JSON with C#

 
  • 0 Vote(s) - 0 Average
Using JSON with C#
bgowland
Online

Posting Freak

West Yorkshire, UK
Posts: 4,589
Threads: 385
Joined: Dec 2004
#1
2011-06-29, 12:18 AM
I've been doing some searches and have a few angles on some libraries I can try but just thought I'd ask here to see if any of the community techs have experience of this.

I want to use JSON to serialize/deserialize some simple objects between my nDroid client (native Android app written in Java) and nDroidService (PC-based service written in C#).

Just interested if anyone with any experience of Java <-> C# comms using JSON has any pointers.

Cheers,
Brian
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#2
2011-06-29, 01:12 AM
JSON.NET http://json.codeplex.com/releases/view/64935

They have downloads for pretty much every .Net version. I used the version 2.0 for my original Netflix plugin.

I can't help on the Java side, sorry.
bgowland
Online

Posting Freak

West Yorkshire, UK
Posts: 4,589
Threads: 385
Joined: Dec 2004
#3
2011-06-29, 01:43 AM
whurlston Wrote:JSON.NET http://json.codeplex.com/releases/view/64935

They have downloads for pretty much every .Net version. I used the version 2.0 for my original Netflix plugin.
Thanks for the response, JSON.NET is one I had discovered but was put off by the v4.0 (current version) and my service is built for .NET v2.0. I hadn't spotted the previous releases are available - I'll download the v2.0 version and give it a try.

Quote:I can't help on the Java side, sorry.
No problem. I'm just curious as to whether or not I can push an object (serialize/deserialize) in both directions and have each end play nice. I'm totally new to JSON but the theory says I can.

Cheers,
Brian
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#4
2011-06-29, 01:48 AM
Yeah, that library will allow you to go both directions (I never needed the output though).
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  How to convert the startTIme value in json response? JavaWiz 3 1,972 2020-04-25, 12:35 AM
Last Post: JavaWiz
  NEWA JSON API oddity bgowland 3 2,809 2015-03-25, 03:23 AM
Last Post: bgowland
  Newtonsoft.Json mvallevand 9 4,195 2013-08-15, 05:10 PM
Last Post: whurlston

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode