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 fd9e11a182 added MapMethodParameters(..) method family to JSONMapper 12 months ago
.vs/sharp.json/xs Added Dictionary<,> mapping support 2 years ago
ln.json added MapMethodParameters(..) method family to JSONMapper 12 months ago
ln.json.tests added MapMethodParameters(..) method family to JSONMapper 12 months ago
.gitignore Updated build.ln 1 year ago
README.md „README.md“ ändern 1 year ago
build.ln Updated build.ln 1 year ago
ln.json.sln .sln reorganization 1 year ago

README.md

ln.json

A lightweight JSON implementation for Mono/.NET

Usage

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);