Skip to content

Instantly share code, notes, and snippets.

@JamesNK
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JamesNK/b50d01135e2602e80138 to your computer and use it in GitHub Desktop.
Save JamesNK/b50d01135e2602e80138 to your computer and use it in GitHub Desktop.
DSON (Doge Serialized Object Notation): a data-interchange format that is easy for Shiba Inu dogs to read and write - https://github.com/JamesNK/Newtonsoft.Dson
var data = new
{
hello = "world",
people = new[] { "James", "Brendan", "Amy" }
};
string dson = DsonConvert.SerializeObject(data, Formatting.Indented);
// such
// "hello" is "world",
// "people" is so
// "James" and
// "Brendan" and
// "Amy"
// many
// wow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment