LitJson 0.19.0

dotnet add package LitJson --version 0.19.0                
NuGet\Install-Package LitJson -Version 0.19.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LitJson" Version="0.19.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LitJson --version 0.19.0                
#r "nuget: LitJson, 0.19.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install LitJson as a Cake Addin
#addin nuget:?package=LitJson&version=0.19.0

// Install LitJson as a Cake Tool
#tool nuget:?package=LitJson&version=0.19.0                


NuGet MyGet

A .Net library to handle conversions from and to JSON (JavaScript Object Notation) strings.

It's quick and lean, without external dependencies. Just a few classes so easily embeddable in your own code or a very small assembly to ship with your code. The code is highly portable, which in general makes it easy to adapt for new platforms.

Continuous integration

Build server Platform Build status
AppVeyor Windows AppVeyor branch
Bitrise MacOS Build Status
Bitrise Linux Build Status
Azure Pipelines Linux / MacOS / Windows Azure Pipelines Build Status
GitHub Actions Linux / MacOS / Windows Build


Code can be compiled using .NET CLI or by launching the bootstrappers in the root of the repository.

Linux / OS X

The bootstrappers will (locally in repo)

  • Fetch and install .NET Core CLI / SDK version needed to compile LitJSON.
  • Fetch and install Cake runner
  • Execute build script with supplied target (--target=[Target]) or by default
    1. Clean previous artifacts
    2. Restore build dependencies from NuGet
    3. Build
    4. Run unit tests
    5. Create NuGet package

This library comes with a set of unit tests using the [NUnit][nunit] framework.

Using LitJSON from an application

Package manager
Install-Package LitJson -Version 0.19.0
dotnet add package LitJson --version 0.19.0
Paket CLI
paket add LitJson --version 0.19.0

Alternatively, just copy the whole tree of files under src/LitJSON to your own project's source tree and integrate it with your development environment.


LitJSON currently targets and supports

  • .NET 8
  • .NET 6
  • .NET Standard 2.1
  • .NET Standard 2.0
  • .NET Standard 1.5
  • .NET Framework 4.8
  • .NET Framework 4.5
  • .NET Framework 4.0
  • .NET Framework 3.5 (including SQLCLR, for which WCOMAB/SqlServerSlackAPI is an example of)
  • .NET Framework 2.0
  • Mono 4.4.2 and above

Each merge to develop is published to our NuGet feed on MyGet and also GitHub Packages.


So you’re thinking about contributing to LitJSON? Great! It’s really appreciated.

  • Create an issue
  • Fork the repository.
  • Create a feature branch from develop to work in.
  • Make your feature addition or bug fix.
  • Don't forget the unit tests.
  • Send a pull request.


[Unlicense][unlicense] (public domain).

litjson: [unlicense]( [nunit]: [pkg-config]: [unlicense]: [ghpackages]:

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.5 is compatible.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net20 is compatible.  net35 is compatible.  net40 is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (42)

Showing the top 5 NuGet packages that depend on LitJson:

Package Downloads

Package Description


iCom integrates a variety of specific operation classes, such as: Cookie, Items, Cache, Form, DbContext, DbDynamic, DbConn, SqlQuery, FileUtil, FileUpload, Crypto, BarCode, StringUtil, TypeConvert, SortList, DateUtil, RegexUtil, Environal, ReflectUtil, HttpClient, ImageUtil, XmlUtil, ZipPackage, WordUtil, ExcelUtil, PdfUtil, PinyinConvert, PdfToImageConverter, JsonConfig, XmlConfig, ObjectCopy, TagHelper, SkipUrlMiddleware and so on. // HttpContext Called in the ConfigureServices method services.AddContextAccessor(); // Called in the Configure method app.UseHttpContext(); // EfCore Called in the ConfigureServices method // Application Assembly var assembly = Assembly.GetExecutingAssembly(); // Register Database Models services.AddDbContext(assembly); // Auto Update Database services.AddMigrate(); // Register All Services services.AddService(assembly);




Package Description


LitJson serializer extension for Cosmos base library

GitHub repositories (10)

Showing the top 5 popular GitHub repositories that depend on LitJson:

Repository Stars
An open-source, multiplayer modification for the game Subnautica.
Libraries, samples and tools to help .NET Core developers develop AWS Lambda functions.
This repo is for experimentation and exploring new ideas that may or may not make it into the main corefx repo.
FlashDevelop is a free and open source code editor.
Version Downloads Last updated
0.19.0 40,544 11/19/2023
0.18.0 63,117 3/27/2022
0.17.0 229,254 1/21/2021
0.16.0 50,383 1/22/2020
0.15.0 145,402 10/21/2019
0.14.1 12,013 9/18/2019
0.14.0 786 9/18/2019
0.13.0 269,591 5/9/2018
0.12.0 83,347 1/24/2018
0.11.0 24,782 1/8/2018
0.10.0 6,403 1/4/2018
0.9.0 13,647 7/20/2017
0.7.0 158,325 8/26/2014