Hi All,
I have an add-in that uses some JSL to retrieve data from an API endpoint and turn it into a data table in JMP. Everything works fine, except that the resulting data table orders the JSON keys alphabetically.
I know that JSON keys are unordered, but is there any way to preserve their original sequential order when they are converted to data table columns?
Thanks,
Andy
request = New HTTP Request(
URL( "https://xyz.com/api" ),
Method( "Get" ),
Query String(
[["token" => "abcdefg"]]
)
);
json = request << Send();
jsl_json = Parse JSON( json );
dt = JSON To Data Table( As JSON Expr( jsl_json["items"], Guess("wide") ) );