Array (Data Type) - MerchantCalico/bovines-and-buttercups-archive GitHub Wiki

An array is a list of other existing data types defined through enclosed values inside brackets ([ and ]). Elements are separated from the next using a comma.


Examples

{
  "thunder_conversion_types": [
    {
      "type": "example:green_truffle",
      "weight": 1
    },
    {
      "type": "example:blue_truffle",
      "weight": 2
    }
  ]
}

This example shows an array of Weighted Configured Cow Types.

{
  "color": [
    1.0,
    1.0,
    1.0  
  ]
}

This example shows a Color which is an array of Floats.