Skip to content

feat: Add support for BSON file format#177

Open
Else00 wants to merge 1 commit into
PaulJuliusMartinez:mainfrom
Else00:feature/bson-support
Open

feat: Add support for BSON file format#177
Else00 wants to merge 1 commit into
PaulJuliusMartinez:mainfrom
Else00:feature/bson-support

Conversation

@Else00

@Else00 Else00 commented Aug 11, 2025

Copy link
Copy Markdown

Hi, this PR adds support for viewing BSON files in jless.

Changes:

  • Adds the --bson flag to explicitly parse BSON.
  • Automatically detects the .bson file extension.
  • Internally, the BSON data is decoded into a JSON string and then processed by the existing rendering engine. This reuses the current UI and logic.
  • Includes a unit test for the BSON parsing logic.

Let me know if any changes are needed!

@Else00

Else00 commented Aug 17, 2025

Copy link
Copy Markdown
Author

@PaulJuliusMartinez

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant