Skip to content

GDSerializer 2.0.0

Compare
Choose a tag to compare
@Carnagion Carnagion released this 07 Aug 11:50
· 20 commits to stable since this release
9916005

Improvements and major API changes.

Additions

  • Add serializer for Godot nodes and scenes
  • Add serializer for XML nodes
  • Add serializer for Types

Changes

  • Improve parser for type names
    • Parse type name as written in code
    • Add support for serializing open generic types and multi-dimensional array types
    • Breaking change
  • Remove generic Serialize<T>() method
  • Refactor member (de)serialization into separate methods
  • Expose CollectionSerializer's item serializer for access by inheriting types
  • Refactor LINQ query syntax into method chain syntax
  • Use Godot's provided XMLEscape() methods when storing type names in XML
  • Avoid handling exceptions in specialized serializer types
  • Make EnumerableSerializer return a List<T> directly rather than a copy