Giter Club home page Giter Club logo

minejason's Introduction

MineJason

简体中文 | English

Nuget GitLab Last Commit AppVeyor Build Discord QQ

MineJason 提供支持使用 System.Text.Json 序列化和反序列化的原始 JSON 文本格式模型。

用法

安装

请使用我们提供的 NuGet 包(点击下方版本号图标直达包页面)

包名 版本号(链接)
MineJason Nuget
MineJason.Extensions.SharpNbt Nuget

序列化和反序列化

从 0.3.1-alpha 开始,可以直接序列化 ChatComponent 等类,不需要再使用特殊的设置。

ChatComponent.SerializerOptions 已被弃用并移除,请勿再使用该类;JsonComponentSerializer 工具类也已经弃用。

目前尚不支持 Newtonsoft.Json,请勿使用该库进行序列化;请使用 System.Text.Json

创建文本组件

ChatComponent 类中 Create 开头的文本组件支持帮助创建不同的组件。

报告问题

请通过本库的议题区报告问题。

贡献代码

您可以通过合并请求的方式向本库提交代码。但如果改动较大,请先创建相关议题讨论。

请同时按需添加或者更新对应的单元测试。请先阅读贡献者指南

鸣谢

  • 感谢 JetBrains 提供其工具的许可证用于开发开源项目。在本库开发中使用了 ReSharper 及 Rider IDE。
  • 感谢您对本库的兴趣和支持。

许可

本项目以 GNU LGPL 第三版(或者您也可以自行选择适用新版)许可。

请详见本库使用的其它开源项目的许可证声明

本项目的 SPDX License ID 是 LGPL-3.0-or-later

minejason's People

Contributors

withlithum avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.