Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
Dear friends, Does anyone know a practical way to read, manipulate, and extract elements from a file in JSON format using IDL?. I would like to manipulate the elements similarly as it is done with conventional arrays. Any feedback is very welcome. All the best, Roberto.
On 4/4/16 11:30 AM, rojofija wrote: > Does anyone know a practical way to read, manipulate, and extract > elements from a file in JSON format using IDL?. > > I would like to manipulate the elements similarly as it is done with > conventional arrays. JSON_PARSE was added in IDL 8.2. The only issue for you is to read your file into a string, then pass that to JSON_PARSE. Checkout the TOARRAY to get standard IDL arrays. Mike -- Michael Galloy www.michaelgalloy.com Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)