0

I dread coding this but has anyone coded this before or are you using a 3rd party lib like Json.NET? I'd prefer to code my own parser and just wondering what others have done to parse Json and handle that generically.

10
  • 3
    If you dread coding it, why would you prefer to write your own parser? Commented Aug 6, 2010 at 20:43
  • As always, more flexible, no reliance on anyone else breaking it, or non-support for whatever. We don't like to use a lot of 3rd party reliance for obvious reasons. Commented Aug 6, 2010 at 20:59
  • I also have more control at the lowest level and performance I can ensure myself...I don't have to go hack up a 3rd party code base. Commented Aug 6, 2010 at 21:00
  • @CoffeeAddict: so you're not even going to consider saving yourself time by using an existing library? How is it that you're comfortable relying on the .NET framework? Commented Aug 6, 2010 at 21:07
  • Here's the thing. My boss won't let me use a 3rd party. So that kinda leaves me to coding my own anyway and it would be a good challenge/learning process. I prefer to write my own because I can control it more. Your question about the .NET framework and relying on that is bogus. Eveyrone relies on that, what do you want me to do go write my own freaking programming language? You're talking about a programming LANGUAGE vs. a 3rd party open source FRAMEWORK. Completely different and scope and reliance totally diferent. Using too many 3rd party can cause problems and maint nightmares Commented Aug 6, 2010 at 21:12

1 Answer 1

2

I started down the road 1 1/2 years ago (or so) with writing my own JSON parser, but then I ran across JSON.NET and have used it ever since. I've used it on a number of projects and really haven't run into any issues.

Handling dates was the straw that broke the camel's back, so to speak, that drove me to JSON.NET.

Sign up to request clarification or add additional context in comments.

1 Comment

interesting, what was the problem with handling of dates? Just curious for my own knowledge

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.