Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Parse JSON in C# library project

$
0
0

Hello all,

I'm trying to organize a cross-platform project setup for my app (which will eventually be on at least iOS and Android). I have a common/standard C# library project that I'm using in my platform-specific projects via file linking.

The roadblock I've now hit is that I want to do JSON parsing in my library project and I can't seem to find a good way to accomplish this. Most of what I've seen points to using Json.NET (the component) but doesn't that mean it can only be used in a platform-specific project? I've also seen some people pulling the source directly off the project's site and using that, but it seems like there must be a better way to accomplish this.

Is there some other way I'm missing? I've searched a fair bit for an answer, but if I missed one please point me in the right direction!

Thanks!

Edit: I'm working solely on a Mac with the latest stable releases Xamarin Studio and Xamarin.iOS/Android, with a .NET 4.5 library project.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>