Skip to content

Instantly share code, notes, and snippets.

View DenL's full-sized avatar

Dennis Lee DenL

  • Mochi Labs Ltd.
  • Toronto
View GitHub Profile
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible).
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export.
// ignore row/column if first row/column contains this key
var IGNORE_KEYS = ["ignore", "void"];
var EXPORT_FOLDER = "JsonExport";
var EXPORT_TYPE_JSON = "Json";
var EXPORT_TYPE_CSV = "Csv";
@DenL
DenL / Tuple.cs
Last active August 29, 2015 14:19 — forked from michaelbartnett/LICENSE.txt
// ----------------------------------------------------------------------------
// Tuple structs for use in .NET Not-Quite-3.5 (e.g. Unity3D).
//
// Used Chapter 3 in http://functional-programming.net/ as a starting point.
//
// Note: .NET 4.0 Tuples are immutable classes so they're *slightly* different.
// ----------------------------------------------------------------------------
using UnityEngine;
using System;