PxPlus User Forum

Twitter Twitter Twitter

Author Topic: JSON to Array  (Read 1317 times)

Jeffrey Ferreira

  • Diamond Member
  • *****
  • Posts: 175
  • I must have taken a wrong turn at Albuquerque.
    • View Profile
JSON to Array
« on: February 28, 2019, 10:58:38 AM »
Hi All,

I know we can take a PxPlus Associative Array and convert it to JSON.
I'm struggling with the inverse.
How do I parse JSON passed back via PxPlus.
Is it possible using PxPlus?

jeff
« Last Edit: February 28, 2019, 11:06:31 AM by Jeffrey Ferreira »

Jeffrey Ferreira

  • Diamond Member
  • *****
  • Posts: 175
  • I must have taken a wrong turn at Albuquerque.
    • View Profile
Re: JSON to Array
« Reply #1 on: February 28, 2019, 11:36:49 AM »
A Coworker of mine just pointed out that I missed this in the documentation:

DIM LOAD array_name${ALL} = JSON_value$

sorry about that.