Skip to content

Conversation

@fawdlstty
Copy link
Contributor

This submission is made to fulfill one of my requirements. I have a JSON data that is exactly the same as the current FlatBuffers definition. I need to perform serialization and deserialization (at least when adding members to the FlatBuffers structure definition, I want my deserialization code to throw an error to alert me to add the corresponding member). Observation shows that ObjectBuilder is quite close to my requirements, but it hides the member variables. Therefore, I made its member variables public.

@github-actions github-actions bot added c++ codegen Involving generating code from schema dart labels Dec 9, 2025
@fawdlstty fawdlstty marked this pull request as draft December 10, 2025 01:26
@fawdlstty fawdlstty marked this pull request as ready for review December 10, 2025 02:14
@jtdavis777
Copy link
Collaborator

@vaind mind taking a peek at this PR and leaving some thoughts?

@vaind
Copy link
Contributor

vaind commented Dec 10, 2025

@vaind mind taking a peek at this PR and leaving some thoughts?

I won't have time to do so for a while but will have a look when I do and this is still open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ codegen Involving generating code from schema dart

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants