Skip to content

Yet another NBT serializer/deserializer, making serializing/deserializing NBT as easy as JSON.

License

Notifications You must be signed in to change notification settings

Myitian/ElysiaNBT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0f52040 · Feb 27, 2025

History

3 Commits
Feb 27, 2025
Feb 20, 2025
Feb 27, 2025
Feb 20, 2025
Dec 14, 2024
Feb 20, 2025
Dec 14, 2024
Feb 27, 2025
Feb 27, 2025
Feb 20, 2025

Repository files navigation

ElysiaNBT

NuGet version (ElysiaNBT)

English | 简体中文

Yet another NBT serializer/deserializer, making serializing/deserializing NBT as easy as JSON.

Dependencies

Features

  • Use native types instead of specialized types like NbtCompound;
  • Automatically find the best matching type converter;
  • Automatically cache reflection results and converters;
  • Supports Java Edition NBT, Bedrock Edition NBT and SNBT;
  • Support deserialization to object type (default is Dictionary<string, object>);
  • Support deserialization to dynamic type (default is ExpandoObject);
  • You can use NbtEntryNameAttribute to specify the entry name;
  • You can use NbtEntryNameAttribute to specify the entry order;
  • You can use NbtIgnoreAttribute to specify ignore rules;
  • You can use NbtConverterAttribute to specify converters;

TODO

  • Source generator (to support AOT generation)

References

爱门

About

Yet another NBT serializer/deserializer, making serializing/deserializing NBT as easy as JSON.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published