Giter Club home page Giter Club logo

Comments (4)

johnsheehan avatar johnsheehan commented on July 21, 2024

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.

prabirshrestha avatar prabirshrestha commented on July 21, 2024

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.

johnsheehan avatar johnsheehan commented on July 21, 2024

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.

johnsheehan avatar johnsheehan commented on July 21, 2024

postponed. dependency will remain for now so closing.

from restsharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.