Get list of objects YAML

Discussion in 'Plugin Development' started by Nogtail, May 21, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Nogtail

    For example I have a YAML file:
    Code:
    - id: 1
      location:
        x: 100
        y: 200
        z: 300
    - id: 2
      location:
        x: 400
        y: 500
        z: 600
    And U would like to get a list of objects that contain a location and an ID how would I do this? I have seen the method "getList(path)" which appears to give you a list of things in that path but I can't find what object it returns.

    Thanks in advance.
     
  2. Offline

    fireblast709

    Looks like you want getMapList() Nogtail
     
    Nogtail likes this.
Thread Status:
Not open for further replies.

Share This Page