Skip to content

Instantly share code, notes, and snippets.

View bojanrajkovic's full-sized avatar

Bojan Rajkovic bojanrajkovic

View GitHub Profile
@bojanrajkovic
bojanrajkovic / JSON.cs
Last active December 12, 2015 08:59 — forked from chkn/JSON.cs
using System;
using System.Linq;
using System.Reflection;
public static class JSON
{
public static string Stringify (object obj)
{
if (obj == null) return "null";
if (obj is ValueType) return obj.ToString ().ToLowerInvariant ();