Yaml: delete a path?

Discussion in 'Plugin Development' started by TheA13X, Apr 11, 2013.

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

    TheA13X

    I kow how to delete a value in an yml(setting it to null), but the path is still there. Ther is just an empty list/String.

    for example:
    Code:
    zone:
      AlSeeingEye:
        from:
          x: 215
          y: 65
          z: 193
        to:
          x: 235
          y: 60
          z: 200
      owner:
          - AlSeeingEye
    if I set the value of all paths to null:
    Code:
    zone:
      AlSeeingEye:
        from: {}
        to: {}
      owner: []
    The paths have to be deleted as well.
    I just don't know how.
     
  2. Offline

    stelar7

    set the path to null?
     
Thread Status:
Not open for further replies.

Share This Page