MineJason 0.2.1-alpha
See the version list below for details.
dotnet add package MineJason --version 0.2.1-alpha
NuGet\Install-Package MineJason -Version 0.2.1-alpha
<PackageReference Include="MineJason" Version="0.2.1-alpha" />
<PackageVersion Include="MineJason" Version="0.2.1-alpha" />
<PackageReference Include="MineJason" />
paket add MineJason --version 0.2.1-alpha
#r "nuget: MineJason, 0.2.1-alpha"
#:package MineJason@0.2.1-alpha
#addin nuget:?package=MineJason&version=0.2.1-alpha&prerelease
#tool nuget:?package=MineJason&version=0.2.1-alpha&prerelease
MineJason
MineJason is a .NET library that provides serialization compatible models for chat component (Raw JSON text format) in Minecraft: Java Edition.
Usage
Serialize and deserialize
You need to make sure that you use ChatComponent.SerializerOptions when serializing or deserializing chat components, so that your serialized output conforms to Minecraft: Java Edition format.
To make it easier, we have provided JsonComponentSerializer class which provides a few static methods similar to JsonSerializer, but pre-configured to use the specified serializer options:
// Use our custom serializers!
using MineJason.Serialization;
JsonComponentSerializer.Serialize(component);
JsonComponentSerializer.Deserialize(json);
If you prefer to do it yourself then you must use or respect all options defined in ChatComponent.SerializerOptions!
Creating components
Create methods in ChatComponent class allows you to create various types of components.
Issues
Please report issues in the issue tracker.
Thanks
- Thanks JetBrains for providing a licence of their tools for open source development. The ReSharper VS extension is used in the development of this library.
- Thanks you for your interest on this library.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on MineJason:
| Package | Downloads |
|---|---|
|
MineJason.Extensions.SharpNbt
Package Description |
|
|
MineJason.Extras
Stuff that do not fit into the main MineJason library |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.7.0-beta.3 | 60 | 6/15/2026 |
| 0.7.0-beta.2 | 63 | 5/31/2026 |
| 0.7.0-beta.1 | 63 | 5/29/2026 |
| 0.7.0-alpha.6 | 56 | 5/2/2026 |
| 0.7.0-alpha.5 | 60 | 4/17/2026 |
| 0.7.0-alpha.4 | 70 | 3/22/2026 |
| 0.7.0-alpha.2 | 69 | 3/1/2026 |
| 0.7.0-alpha.1 | 170 | 10/28/2025 |
| 0.6.0-alpha.2 | 131 | 6/20/2024 |
| 0.6.0-alpha | 114 | 6/14/2024 |
| 0.5.1-alpha | 125 | 5/25/2024 |
| 0.5.0-alpha | 139 | 5/10/2024 |
| 0.4.0-alpha | 142 | 2/12/2024 |
| 0.3.0-alpha.preview1 | 145 | 1/18/2024 |
| 0.2.1-alpha | 150 | 1/7/2024 |
| 0.2.0-alpha | 134 | 1/2/2024 |
| 0.1.0-alpha | 132 | 1/1/2024 |