Not seeing the static Serializer object on generated class #359
-
Beta Was this translation helpful? Give feedback.
Answered by
jamescourtney
Dec 27, 2022
Replies: 1 comment 4 replies
-
You need to tell FlatSharp that you want a serializer: attribute "fs_serializer";
namespace AVSDK.FlatBuffers;
table AVBook (fs_serializer) {
num: uint8 (key);
chapter_cnt: uint8;
chapter_idx: uint16;
name: string (required);
abbreviations: [string] (required);
}
table AVBookIndex {
index: [AVBook] (required);
}
root_type AVBookIndex; Please take a look at the list of possible FBS annotations. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
jamescourtney
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to tell FlatSharp that you want a serializer:
Please take a look at the list of possible FBS annotations.