Is there any way to programmatically export JSON?

Is there a way to programmatically export JSON? (Preferably, without JS)

I believe you can save it as a file with a block I made (uses Extension blocks)
Extension Blocks script pic

Cool. Thanks!

It's also possible with SciSnap!, as far as I remember.

Yeah, but using SciSnap! comes with too much bloat, imho.

I could extract the block if you want with no other additional content, without the blocks or any extra categories. It would still use the library path, but I will make it not add anything listed before!

i edited the scisnap block to do this i think

Untitled script pic

It works with a JSON list and a text. :slight_smile:

No, the block you posted earlier works. Thank you!

Not sure if this is exactly what you're asking, but using snap's extension blocks there is a way to export text as a file, which can include JSON data. (Doesn't require SciSnap!)
image

Got it. Thanks!


Does anyone know how to import JSON? Exporting has that extension block, but what about importing? Would just ask [] and waiting and having the user paste the json work? What if it is a large file?

I moved this from SciSnap!.
Minecraft UI creator for Bedrock script pic

Maybe you should also add in the block to import scisnap

Thanks! (To both of you)