Table of contents generated with markdown-toc
Read: parse_json(str)
Write: to_json(data)
Easy to debug and use.
Large file size.
Only supports float number type.
Most data types have to be saved using var2str
.
Read: XMLParser
or File
Write: custom
XML is widely supported.
Currently hard to write custom XML parser and serializer.
Read: load(file)
Write: ResourceSaver.save(resource)
Integrated into Godot. Loading and saving Godot data directly.
No versioning. Difficult to debug outside Godot.
Read: load(file)
Write: PackedScene.pack(scene)
Integrated into Godot; load and save Godot game state directly.
Saves everything, can‘t select.
Read: var2bytes(var)
Write: bytes2var(bytes)
Small file size, very customizable and compact.
The most difficult and hard to debug option.
Read: var2str(var)
Write: str2var(str)
Easy to read and write.
Error-prone and large file size.