Forum: CFEngine Help Subject: Re: RFC: JSON support for CFEngine Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27484,27485#msg-27485
Ted, I like the idea of abstracting data structures. Sadly, Cf3's current crop of data structure is limited such that JSON is overkill. Using current associative arrays the best I can achieve is a limited one dimensional array, perhaps with an index. e.g array[0] array[0] array[1] array[1] etc The contents of these structures has a practical limit of scalars only. Technically you can embed a list but, no iteration is possible. Further it is not possible to index below the first level of keys. Still I'd like to see some more complex examples of what you had mind. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine