Update to 1.1.0 #5

Merged
Booklordofthedings merged 16 commits from dev into main 2024-09-26 17:32:20 +02:00
Showing only changes of commit 5d20dfd967 - Show all commits

View file

@ -134,7 +134,7 @@ You can manually add it to your class and its also available on some corelib typ
There is also an attribute you can use to make Bofa attempt to generate the interface at compile time.
```cs
[BofaSerialize(Strict = false)] //false by default. If set to true it will fail when it cant find/parse a field
class Serialization
class Example
{
//It attempts to parse all public fields
//[BofaInclue(Name = "FieldName")]
@ -147,6 +147,8 @@ class Serialization
}
```
`Bofa.Deserialize(Example, Dictionary<StringView, Bofa>)` can be used to directly map the result of a parse to a field.
## Potential improvements
- There is still alot of speed left on the table
- Reduce the amount of allocations