Skip to content

Conversation

Ruhi14
Copy link

@Ruhi14 Ruhi14 commented Jul 22, 2025

This PR adds category metadata to the blns.json and blns.base64.json outputs based on the section headers from blns.txt.

✅ Changes:

  • Added scripts/generate_json_with_categories.py for converting categorized .txt to .json
  • Replaced blns.json and blns.base64.json with structured objects
  • Each JSON entry now includes a "category" field (and base64 if applicable)

Fixes #267

Signed-off-by: Ruhi Jain <ruhijain270@gmail.com>
@QuLogic
Copy link

QuLogic commented Sep 23, 2025

Instead of repeating the category every time, why not do something like [{"category": "The category.", "strings": ["1", "2, "3", ...]}, ...]

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.

Add categories in the .json file

2 participants