LitJson 0.19.0
dotnet add package LitJson --version 0.19.0
NuGet\Install-Package LitJson -Version 0.19.0
<PackageReference Include="LitJson" Version="0.19.0" />
paket add LitJson --version 0.19.0
#r "nuget: LitJson, 0.19.0"
// 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
LitJSON
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 | |
Bitrise | MacOS | |
Bitrise | Linux | |
Azure Pipelines | Linux / MacOS / Windows | |
GitHub Actions | Linux / MacOS / Windows |
Compiling
Code can be compiled using .NET CLI or by launching the bootstrappers in the root of the repository.
Windows
./build.ps1
Linux / OS X
./build.sh
Prerequisites
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- Clean previous artifacts
- Restore build dependencies from NuGet
- Build
- Run unit tests
- Create NuGet package
Testing
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
.NET CLI
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.
Requirements
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
Prereleases
Each merge to develop is published to our NuGet feed on MyGet and also GitHub Packages.
Contributing
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.
License
[Unlicense][unlicense] (public domain).
litjson: [unlicense](http://unlicense.org/ [nunit]: http://www.nunit.org/ [pkg-config]: http://www.freedesktop.org/wiki/Software/pkg-config [unlicense]: http://unlicense.org/ [ghpackages]: https://github.com/orgs/LitJSON/packages?repo_name=litjson
Product | Versions 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. |
-
.NETFramework 2.0
- No dependencies.
-
.NETFramework 3.5
- No dependencies.
-
.NETFramework 4.0
- No dependencies.
-
.NETFramework 4.5
- No dependencies.
-
.NETFramework 4.8
- No dependencies.
-
.NETStandard 1.5
- NETStandard.Library (>= 1.6.1)
- System.Collections.NonGeneric (>= 4.3.0)
- System.Collections.Specialized (>= 4.3.0)
- System.Reflection (>= 4.3.0)
- System.Reflection.TypeExtensions (>= 4.7.0)
-
.NETStandard 2.0
- No dependencies.
-
.NETStandard 2.1
- No dependencies.
-
net6.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (44)
Showing the top 5 NuGet packages that depend on LitJson:
Package | Downloads |
---|---|
BaseLibrary.ClassLibraryStand
Package Description |
|
iCom
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); |
|
LC.Tool
LC.Tool |
|
Fissoft.Pay
Package Description |
|
GoPlay.Core
GoPlay.Core For more information, please go to [https://github.com/Jennal/GoPlay.Net](https://github.com/Jennal/GoPlay.Net) |
GitHub repositories (10)
Showing the top 5 popular GitHub repositories that depend on LitJson:
Repository | Stars |
---|---|
SubnauticaNitrox/Nitrox
An open-source, multiplayer modification for the game Subnautica.
|
|
aws/aws-lambda-dotnet
Libraries, samples and tools to help .NET Core developers develop AWS Lambda functions.
|
|
dotnet/corefxlab
This repo is for experimentation and exploring new ideas that may or may not make it into the main corefx repo.
|
|
fdorg/flashdevelop
FlashDevelop is a free and open source code editor.
|
|
qinyuanpei/HttpServer
一个使用C#编写的简易Web服务器
|
Version | Downloads | Last updated |
---|---|---|
0.19.0 | 64,214 | 11/19/2023 |
0.18.0 | 70,903 | 3/27/2022 |
0.17.0 | 292,154 | 1/21/2021 |
0.16.0 | 52,770 | 1/22/2020 |
0.15.0 | 145,701 | 10/21/2019 |
0.14.1 | 12,214 | 9/18/2019 |
0.14.0 | 811 | 9/18/2019 |
0.13.0 | 283,602 | 5/9/2018 |
0.12.0 | 85,807 | 1/24/2018 |
0.11.0 | 25,168 | 1/8/2018 |
0.10.0 | 6,527 | 1/4/2018 |
0.9.0 | 13,787 | 7/20/2017 |
0.7.0 | 164,570 | 8/26/2014 |