Boolean
Overview
This library supports serializing and deserializing bool value fields.
Serialization
Boolean values are serialized as either true or false as a TOML boolean.
These are always lowercase.
Deserialization
Boolean values are deserialized from TOML as either true or false, case-insensitive.
Example
[Serializable]
public class PlayerAccount
{
private bool _isPremium;
private bool _isBanned;
}
Can be serialized and deserialized as the following TOML document:
isPremium = true
isBanned = false