Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to obtain XML through JSON files #3136

Open
zhllucky opened this issue Jan 9, 2024 · 1 comment
Open

How to obtain XML through JSON files #3136

zhllucky opened this issue Jan 9, 2024 · 1 comment

Comments

@zhllucky
Copy link

zhllucky commented Jan 9, 2024

I obtained a JSON file for the block code through my backpack in Scratch.
At this point, I wanted to directly parse this JSON file in Scratch blocks, but I found that Scratch blocks does not accept this type and can only convert it to XML through JSON, but this method is not available.

@mxmou
Copy link

mxmou commented Jan 19, 2024

The code for converting between these formats is in scratch-vm.

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

No branches or pull requests

2 participants