Skip to content

Instantly share code, notes, and snippets.

@elaberge
elaberge / MiniJSON.cs
Last active October 3, 2022 11:09 — forked from darktable/MiniJSON.cs
Updated to work correctly with non-English locales.
/*
* Copyright (c) 2013 Calvin Rien
*
* Based on the JSON parser by Patrick van Bergen
* http://techblog.procurios.nl/k/618/news/view/14605/14863/How-do-I-write-my-own-parser-for-JSON.html
*
* Simplified it so that it doesn't throw exceptions
* and can be used in Unity iPhone with maximum code stripping.
*
* Permission is hereby granted, free of charge, to any person obtaining