You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can add custom type support and has some official/third-party extension package. for ImmutableCollections(`ImmutableList<>`, etc), for ReactiveProperty and for Unity(`Vector3`, `Quaternion`, etc...), for F#(Record, FsList, Discriminated Unions, etc...). Please see [extensions section](https://github.com/neuecc/MessagePack-CSharp#extensions).
111
111
@@ -115,7 +115,6 @@ Object Serialization
115
115
---
116
116
MessagePack for C# can serialze your own public `Class` or `Struct`. Serialization target must marks `[MessagePackObject]` and `[Key]`. Key type can choose int or string. If key type is int, serialized format is used array. If key type is string, serialized format is used map. If you define `[MessagePackObject(keyAsPropertyName: true)]`, does not require `KeyAttribute`.
117
117
118
-
119
118
```csharp
120
119
[MessagePackObject]
121
120
publicclassSample1
@@ -510,21 +509,21 @@ If the number of nodes is large, search with a embedded binary search.
| GetEncodedStringBytes | Get msgpack packed raw binary. |
782
783
| EnsureCapacity | Resize if byte can not fill. |
783
784
| FastResize | Buffer.BlockCopy version of Array.Resize. |
784
785
| FastCloneWithResize | Same as FastResize but return copied byte[]. |
@@ -1005,6 +1006,27 @@ public class CustomObject
1005
1006
1006
1007
Formatter is retrieved by `AttributeFormatterResolver`, it is included in `StandardResolver`.
1007
1008
1009
+
IgnoreFormatter
1010
+
---
1011
+
`IgnoreFormatter<T>` is lightweight extension point of class and struct, if exists can't serializable type in external type, you can register `IgnoreFormatter<T>` that serialize to nil.
0 commit comments