Skip to content

Add JSON Export#32

Open
passboxequin wants to merge 2 commits into
YarnSpinnerTool:mainfrom
passboxequin:main
Open

Add JSON Export#32
passboxequin wants to merge 2 commits into
YarnSpinnerTool:mainfrom
passboxequin:main

Conversation

@passboxequin
Copy link
Copy Markdown

This pull request introduces a JSON export option as an alternative to the binary export format. A json format can improve usability in certain scenarios where JSON is a more suitable format and improves data readability.

Changes Made:

  1. Added boolean json flag option to command line.
  2. Changed output path to switch to json from yarnc if json flag is true
  3. Added write CompilerOutput results if json flag is true (code same as EmitCompilationResult Method)

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