Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

JSON with data in array format

Discussion in 'Scripting' started by seventythreeers, Oct 23, 2017.

  1. seventythreeers

    seventythreeers

    Joined:
    Nov 15, 2016
    Posts:
    18
    Case Closed.
     
    Last edited: Oct 23, 2017
  2. Brathnann

    Brathnann

    Joined:
    Aug 12, 2014
    Posts:
    7,186
    You have " " around your numbers. "1", "2", etc. So they are strings, not ints. Remove the quotes.