Comments (4)
I've been thinking a lot lately about how to get rid of the dependency on JSON.NET. The problem is there's no equivalent to it's LINQ to JSON features out there and I'm personally not qualified to write a LINQ provider. There's plenty of parsers out there, but it's the LINQ support under the covers that makes the JsonDeserializer special.
from restsharp.
if im not wrong the only place where u actually use JSON.NET is in JsonSerializer.cs and JsonDeserializer.cs. and u dont seem to be using any of the LINQ to JSON features.
so i think it might be better to just include the small json parser and if the user wants to have more features like linq to json, he could reference JSON.NET.
this is just my idea, im not totally against not using JSON.NET thou as it has been very mature and lots of projects actually use it.
this one is a very small json library http://dimebrain.com/2010/04/how-to-parse-json.html works even in compact framework.
from restsharp.
JsonDeserializer and JsonSerializer are definitely using JSON.NET's LINQ to JSON features. Comment out the using Newtonsoft.Json.Linq; line and you'll see what I mean.
For Silveright, I might try replacing the dependency using the built-in LINQ to JSON. I have to investigate that. Sadly, that's not available in WP7 or the main framework.
from restsharp.
postponed. dependency will remain for now so closing.
from restsharp.
Related Issues (20)
- RestSharp v106.12.0 -> v110.2.0 exception in new RestClient(url); command
- OAuth1 - Path Segments with Special Char "!" - Results in Auth Error HOT 3
- Getting Forbidden when Using ExecuteAsync() HOT 1
- Null Version in RestResponse<T>
- Incorrect value of cookie when the cookie has UTF-8 characters HOT 4
- Not found synchronous operations in restclient HOT 1
- HttpBasicAuthentication in v111.0.0 HOT 1
- OAuth1Authenticator Class missing in 111.0.0 HOT 4
- AddQueryParameter : Pipe character still encoded with false option HOT 2
- Not sending certificates with request HOT 3
- Method in Execute-method new in v111 HOT 5
- Unable to parse JSON response (yesterday I was) HOT 11
- I can't log in to Facebook with version 111, but 108 works HOT 1
- New method for downloading streams
- NullReferenceException in ExecutePost when Header value is null
- After updating from version 111.2 to 111.3, a C++/CLI project that uses libraries that use Restsharp reports a C2870 HOT 1
- Unexpected behavoir when upgrading to 111.3.0 HOT 5
- CredentialCache.DefaultCredentials and UseDefaultCredentials on .NET8 Core HOT 3
- In latest version of RestSharp from 106.12.0 to 111.3.0 has error Null reference exception at Execute
- Generic attribute GenerateCloneAttribute can cause problems for .NET Framework projects
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from restsharp.