Description
A .NET library to handle conversions from and to JSON (JavaScript Object Notation) strings and .NET objects.
LitJSON alternatives and similar packages
Based on the "Serialization" category.
Alternatively, view LitJSON alternatives based on common mentions on social networks and blogs.
-
Protocol Buffers
Protocol Buffers - Google's data interchange format -
Json.NET
Json.NET is a popular high-performance JSON framework for .NET -
MessagePack for C# (.NET, .NET Core, Unity, Xamarin)
Extremely Fast MessagePack Serializer for C#(.NET, .NET Core, Unity, Xamarin). / msgpack.org[C#] -
Bond
Bond is a cross-platform framework for working with schematized data. It supports cross-language de/serialization and powerful generic mechanisms for efficiently manipulating data. Bond is broadly used at Microsoft in high scale services. -
ZeroFormatter
Infinitely Fast Deserializer for .NET, .NET Core and Unity. -
Utf8Json
Definitely Fastest and Zero Allocation JSON Serializer for C#(NET, .NET Core, Unity, Xamarin). -
Magicodes.IE
Import and export general library, support Dto import and export, template export, fancy export and dynamic export, support Excel, Csv, Word, Pdf and Html. -
ServiceStack.Text
.NET's fastest JSON, JSV and CSV Text Serializers -
FileHelpers
The FileHelpers are a free and easy to use .NET library to read/write data from fixed length or delimited records in files, strings or streams -
Msgpack-Cli
MessagePack implementation for Common Language Infrastructure / msgpack.org[C#] -
Ceras
Universal binary serializer for a wide variety of scenarios https://discord.gg/FGaCX4c -
ProtoBuf
C# code generator for reading and writing the protocol buffers format -
JsonSubTypes
Discriminated Json Subtypes Converter implementation for .NET -
ObjectDumper.NET
ObjectDumper is a utility which aims to serialize C# objects to string for debugging and logging purposes. -
Migrant
Fast and flexible serialization framework usable on undecorated classes. -
Bois
Salar.Bois is a compact, fast and powerful binary serializer for .NET Framework. With Bois you can serialize your existing objects with almost no change. -
TcpClientIo
TcpClientIo Wrapper of TcpClient what help focus on WHAT you transfer over TCP, not HOW -
Utf8JsonAsyncStreamReader
An Asynchronous forward-only streaming JSON parser and deserializer based on System.Text.Json.Utf8JsonReader.
Static code analysis for 29 languages.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of LitJSON or a related project?
Popular Comparisons
README
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 | |
Travis | Linux / MacOS |
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 framework.
Using LitJSON from an application
Package manager
Install-Package LitJson -Version 0.10.0
.NET CLI
dotnet add package LitJson --version 0.10.0
Paket CLI
paket add LitJson --version 0.10.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 Standard 2.0
- .NET Standard 1.5
- .NET Framework 4.5 and above
- .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](mygetgallery).
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 (public domain).
*Note that all licence references and agreements mentioned in the LitJSON README section above
are relevant to that project's source code only.