Array with different data types in a JSON object

  1. 3 months ago

    olivier v

    Jul 9 Pre-Release Testers, Xojo Pro Europe (France)

    Hi all,

    Do you know how to include in a JSON object (new framework) an array that contains different data types (string, integer..)? Like here:

    var myData = {
      "types": [
        ["city", 120000],
        ["roads", 250]
      ],
      "data": [
        [1,1,"Juillet 2015","AB5"],
        [1,2,"","AC65"]
      ]
    };

    Thank you

    Make the arrays of type Auto.

  2. Kem T

    Jul 9 Pre-Release Testers, Xojo Pro, XDC Speakers Answer New York

    Make the arrays of type Auto.

  3. 2 months ago

    olivier v

    Jul 11 Pre-Release Testers, Xojo Pro Europe (France)

    Thank you Kem!

or Sign Up to reply!