Array of Structures 结构数组
Arrays of primitive types and complex types (structures containing primitive or complex types) based on the schema of the XML array.
以xml数组模式为基础的基本类型和复杂类型(结构中包含基本类型或复杂类型)数组。
For that effect, JSON defines the following main data structures: number, string, Boolean (true and false), array (an ordered sequence of values), object (collection of key value pairs), and null.
为了实现该目的,JSON定义了以下主要数据结构:数字、字符串、布尔值(真或假)、数组(值的有序排列)、对象(键值对集合)和null。
Using arguments in this way, you can easily build iteration into data structures such as arrays. Listing 3 shows an example of iterating over an array in Ruby
用这种方法使用参数,可以很容易地在数据结构(如数组)中构建迭代。
应用推荐