All notable changes to this library will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
TomlLiteralAttribute
custom attribute for serializing literal stringsTomlMultilineAttribute
custom attribute for serializing multi-line strings (including literals)TomlInlineAttribute
custom attribute for serializing inline tables explicitlyTomlExpandAttribute
custom attribute for serializing expanded tables explicitly- More unit tests for various serialization cases
TomlFloat
values can be coerced into integer values (will be truncated)
TomlKeyAttribute
custom attribute for overriding the TOML key of a fieldTomlCasingAttribute
custom attribute for overriding the TOML key casing of an object or field
- Excessive escaping of strings in TOML output
- Deserialization of multiline basic strings using
"""
syntax - Deserialization of multiline literal strings using
'''
syntax - Deserialization of unicode escape sequences in basic strings using
\uXXXX
syntax - More documentation on deserialization rules
- Proper escaping of serialized strings
- Updated icons for
TomlImporter
andTomlExporter
components
- Now properly ignores inline comments when parsing TOML
- Ignore escape sequences in literal strings
- Serialization of jagged arrays
- Unit tests for jagged arrays
- Made
HasDefaultConstructor
method private, as it is an internal helper method
- Escaping of quoted strings
TomlImporter
component to import TOML files into Unity objects- Custom editor for
TomlExporter
component - Custom editor for
TomlImporter
component - Sample scene for
TomlImporter
component - Icons for
TomlExporter
andTomlImporter
components
- Renamed
sourceObject
totargetObject
forTomlExporter
component - Removed
outputDirectory
fromTomlExporter
component - Renamed
defaultFilename
tooutputFile
forTomlExporter
component - Updated documentation
- Unit tests for bidirectional serialization to and from TOML
- Support for serializing nested objects using dot (
.
) notation
- Serialization of arrays and lists containing
null
values - Serialization of mixed arrays and lists containing nested arrays and lists
- Serialization of mixed dictionaries containing arrays and lists
- Serialization order of tables and arrays within another table
Deserialize
methods forTomlSerializer
static class- Unit tests for
Deserialize
methods - Unit tests for
Serialize
methods - Updated documentation
Serialize
now only serializesIList
instead ofIEnumerable
fields
- Escape double quotes and backslashes in serialized strings
TomlExporter
component for exporting TOML files from Unity objects- Documentation for
TomlExporter
component - Exporter sample scene
- Serializer sample scene
TomlSerializer
not putting a new line space between tables
TomlSerializer
class for serializing objects to TOML format- Unit tests for
TomlSerializer
class - Documentation for
TomlSerializer
class - Documentation for serialization rules
- Documentation for supported types