Go to file
Harald Wolff ddef1ef16e Fix Integer Type conversions 2017-12-09 14:30:26 +01:00
Properties Initial Commit 2017-10-26 16:41:14 +02:00
attributes Improve Property Handling in JSONConverter 2017-12-07 20:17:58 +01:00
json.test WIP 2017-11-23 13:05:58 +01:00
network WIP 2017-11-23 13:05:58 +01:00
.gitignore Initial Commit 2017-10-26 16:41:14 +02:00
ByteParser.cs Alpha commit 2017-11-03 13:13:09 +01:00
FileBackedJSONValue.cs WIP 2017-11-23 13:05:58 +01:00
JSON.cs defaultValues, Dispose fix 2017-12-07 20:17:29 +01:00
JSONArray.cs WIP 2017-11-23 13:05:58 +01:00
JSONConverter.cs Fix Integer Type conversions 2017-12-09 14:30:26 +01:00
JSONNumber.cs Alpha commit 2017-11-03 13:13:09 +01:00
JSONObject.cs WIP 2017-11-23 13:05:58 +01:00
JSONParser.cs WIP 2017-11-23 13:05:58 +01:00
JSONSerializer.cs Alpha commit 2017-11-03 13:13:09 +01:00
JSONSpecial.cs Alpha commit 2017-11-03 13:13:09 +01:00
JSONString.cs Alpha commit 2017-11-03 13:13:09 +01:00
JSONTypes.cs Initial Commit 2017-10-26 16:41:14 +02:00
JSONWebRequest.cs WIP 2017-11-23 13:05:58 +01:00
README.md Added preliminary README.md 2017-11-03 13:20:23 +01:00
sharp.json.csproj WIP 2017-11-23 13:05:58 +01:00
sharp.json.csproj.user Initial Commit 2017-10-26 16:41:14 +02:00

README.md

sharp-json

A lightweight JSON implementation for Mono/.NET

Usage

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

import sharp.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);