You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Harald Wolff-Thobaben b4fdddd69e update .gitignore 1 week ago
.vs/sharp.json/xs Added Dictionary<,> mapping support 1 year ago
attributes WIP 1 year ago
mapping Cleanup 1 week ago
.gitignore update .gitignore 1 week ago
JSONArray.cs WIP 1 year ago
JSONMappedObject.cs Cleanup 1 week ago
JSONNumber.cs Cleanup 1 week ago
JSONObject.cs Cleanup 1 week ago
JSONParser.cs Cleanup 1 week ago
JSONSpecial.cs Implement ToNative() on JSONSpecial 1 year ago
JSONString.cs Fixed String escaping 1 year ago
JSONTypes.cs V2 Implementation 1 year ago
JSONValue.cs JSONValue.ToNative() added 1 year ago „“ ändern 1 week ago
ln.json.csproj Cleanup 1 week ago


A lightweight JSON implementation for Mono/.NET


Use the base type ln.json.JSON to represent JSON variables.

import ln.json;
JSON n = 123.45;
JSON s = "Hello World!"

Console.WriteLine("A number: {0}",n.ToString());
Console.WriteLine("A String: {0}",s.ToString());

To parse JSON from text you may use

JSONParser parser = new JSONParser();
JSON json = parser.Parse("[ 0, 1, 2, 3 ]");

Console.WriteLine("json: {0}",json);