Shout out to Json.NET

Nothing to do with virtual or legacy, well maybe it is.  I’m targeting .net 2.0 with the new and exciting world of JSON objects.

http://www.newtonsoft.com/json

So this library makes it super easy to pass it a long JSON string, and return a .net DataSet.

At the least it makes it easy to dump data out from one of those ‘hip new trendy’ web services, and stuff it into SQL so us old people can look at it.

Author: neozeed

I live in SE Asia, doing generic work, enjoying my life & family

5 thoughts on “Shout out to Json.NET”

  1. .net 2.0? welcome to the future of development.

    two fun facts: C# is really a front to convert Java programmers into ML ones. You can use Linq and other .NET 3.x stuff (probs not WPF tho) on 98/NT4/2K by moving around System.Core from 3.5.

    1. My exciting deploy target is a Windows 2003 x64 system, with an existing .net 2.0 framework & MSDE 2000. Im in the exciting position of having my hands tied behind my back, as Im not allowed to install any system software, or update anything. So yeah, I have to interface all these new fangled JSON based web apps that reside on various network devices, mine the data and since I’m an old bastard I’m using SQL to generate the data in ways I want it. I wonder if I can drop the linq stuff into my working directory I’d suspect that may work, which would at least buy me some of the new age inline ‘using’ stuff.

      As for using .net vs Java aka Microsoft vs Oracle, well I’ve been through the Oracle rodeo one too many times, and I’ll never go there ever again if I can make that choice. But at the same time going back to my insane demands, I can’t install Java on this machine, so it’s moot.

      1. I do wonder if you could just host use .NET core on 2003 server. While officially Win7+, Linux and OS X are the only supported platforms, I’m fairly certain it’s just a collection of dlls (you can do xcopy deployments of .NET core apps).
        Otherwise if you’re using SQL Server and have access to SSIS you can always consume JSON.net in a script component, or if you’re feeling advertureious – write your own DTS components to interface to your web-services.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.