Tags » Linus

Modify existing object with new partial JSON data using Json.NET

Consider the below example program

var calendar = new Calendar
{
    Id = 42,
    CoffeeProvider = "Espresso2000",
    Meetings = new[]
    {
        new Meeting
        {
            Location = "Room1",
            From = DateTimeOffset.Parse("2014-01-01T00:00:00Z"),
            To = DateTimeOffset.Parse("2014-01-01T01:00:00Z")
        },
        new Meeting
        {
            Location = "Room2",
            From = DateTimeOffset.Parse("2014-01-01T02:00:00Z"),
            To = DateTimeOffset.Parse("2014-01-01T03:00:00Z")
        },
    }
};

var patch = @"{
        'coffeeprovider': null,
        'meetings': [
            {
                'location': 'Room3',
                'from': '2014-01-01T04:00:00Z',
                'to': '2014-01-01T05:00:00Z'
            }
        ]
    }";

var patchedCalendar = Patch(calendar, patch);
… 95 more words
Recent Questions - Stack Overflow

Schroeder Knows How to Dougie

We are total suckers for mashups. We’ve heard a bunch but this one takes the cake. “Peanuts Theme” x “Teach Me How To Dougie”. Pure Jeanius.

Sounds

You Forget… Stuff

Looking at Ethan now I can’t remember all the effort that went into raising him. All the times when we had to struggle to get him to sit still to eat his food, or to teach him how to use the toilet by himself. 539 more words

Parenthood

1961 Ford Falcon Peanuts Commercial

I’d like to share this video. 

1961 Ford Falcon Peanut Commercial
http://youtu.be/u43ExlkXmQs

Powered by TubeMate (http://tubemate.net)

Cartoon

CTT | Christmas Pitfalls

The “Christmas Season” is a great way to liven up an otherwise dreary time of the year. Since so much time will be spent indoors, it serves as a good time to gather together friends and family for feasts and merriment. 2,510 more words

Christian Living

mywordlikefire reblogged this on My Word Like Fire and commented:

One radio station in my town plays all "Christmas" songs this time of year--but none of them have anything to do with Christ or the birth of Christ. It is the world's version of "Christmas." This thoughtful piece-with which you may agree, disagree, or agree with overall--is from Faithful Stewardship.