cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP 19 is here! See the new features at jmp.com/new.
  • Register to attend Discovery Summit 2025 Online: Early Users Edition, Sept. 24-25.
Choose Language Hide Translation Bar
lala
Level IX

How to use JSL to open a JSON file to enter the JSON import wizard interface?

Thanks!

2024-12-03_19-38-10.png

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: How to use JSL to open a JSON file to enter the JSON import wizard interface?

Names Default To Here(1);

dt = Open("$sample_data\big class.jmp");
dt << Save("$Documents\Big Class.json");

dt_json = Open("$Documents\Big Class.json", JSON Wizard);
-Jarmo

View solution in original post

3 REPLIES 3
jthi
Super User

Re: How to use JSL to open a JSON file to enter the JSON import wizard interface?

Names Default To Here(1);

dt = Open("$sample_data\big class.jmp");
dt << Save("$Documents\Big Class.json");

dt_json = Open("$Documents\Big Class.json", JSON Wizard);
-Jarmo
jthi
Super User

Re: How to use JSL to open a JSON file to enter the JSON import wizard interface?

This isn't (to my knowledge) properly documented anywhere but you can "guess" it based on other "XXX Wizard" open options OR if you use the wizard, you get source such as

Open("$DOCUMENTS/Big Class.json", JSON Settings(Stack(0)), JSON Wizard(0));

from here it is very easy test to change the JSON Wizard(0) to JSON Wizard(1) and run the source script again.

-Jarmo
lala
Level IX

Re: How to use JSL to open a JSON file to enter the JSON import wizard interface?

Thanks!I understand that.

I turned on the auto-open interface that is needed to debug JSON data of different structures on the web.

Recommended Articles