Skip to content

Add FlatBuffers schema support (.fbs) #256

@clemensv

Description

@clemensv

Feature request

Add conversion support for FlatBuffers schema files (.fbs).

Motivation

FlatBuffers is widely used in low-latency systems and mobile/game pipelines; schema conversion would enable smoother integration.

Suggested scope

  • Import: bs2a (FlatBuffers -> Avrotize Schema)
  • Export: ^G2fbs (Avrotize Schema -> FlatBuffers)
  • Handle tables, structs, enums, unions, vectors, namespaces, and scalar mappings
  • Capture FlatBuffers-specific metadata where direct mapping is lossy

Acceptance criteria

  • CLI commands + docs
  • Tests for representative schemas and edge cases
  • Clear mapping notes for non-lossless features

Additional requirement: JSON Structure conversions

Please also include JSON Structure conversion support:

  • bs2s (FlatBuffers -> JSON Structure)
  • s2fbs (JSON Structure -> FlatBuffers)
  • Preserve conversion metadata for non-lossless constructs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions