Skip to content

JSON library for .NET 2.0+/SL4+/WP7/WindowsStore with optional support for dynamic and DataContract

License

Notifications You must be signed in to change notification settings

Iixuanzheng/simple-json

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleJson

Small and fast JSON library for .NET 2.0+/SL4+/WP7+/Windows Store Apps/Portable Class Library and powershell. Includes support for dynamic in .NET 4.0+/SL4+/Windows Store Apps. Also includes support for DataContract and DataMember.

Using SimpleJson

SimpleJson is not distributed as a compiled binary .dll file but rather as a single .cs file or a powershell module .psm1.

Use nuget to add SimpleJson.cs file to your project.

Install-Package SimpleJson

Supported Platforms

  • .NET 2.0
  • .NET 3.0
  • .NET 3.5 (Client Profile and Full Profile)
  • .NET 4.0 (Client Profile and Full Profile)
  • .NET 4.5
  • Windows 8 Store Apps
  • Silverlight 4
  • Silverlight 5
  • Windows Phone 7.0
  • Windows Phone 7.1 (Mango)
  • Windows Phone 8
  • Portable Class Libraries (PCL)

Note: By default SimpleJson expects System.Linq. If you are targeting older version of .NET framework (.net < 3.0 or WP7.0) you will need to add #define SIMPLE_JSON_NO_LINQ_EXPRESSION.

If you want to use [DataContract], [DataMember(Name = "name")] or [IgnoreDataMember] make sure to add #define SIMPLE_JSON_DATACONTRACT.

If you want to use IReadOnlyCollection<T> and IReadOnlyList<T> make sure to add #define SIMPLE_JSON_READONLY_COLLECTIONS.

About

JSON library for .NET 2.0+/SL4+/WP7/WindowsStore with optional support for dynamic and DataContract

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 91.5%
  • JavaScript 6.0%
  • HTML 2.1%
  • Other 0.4%