How to represent this nested array in YML format?
Posted
by morpheous
on Stack Overflow
See other posts from Stack Overflow
or by morpheous
Published on 2010-04-23T08:30:45Z
Indexed on
2010/04/23
8:33 UTC
Read the original article
Hit count: 290
I want to represent the following nested array structure in YML:
container
1: N [contained_item]s
where [contained_item] has the following structure
contained_item:
name:
type:
category:
id:
value:
I hope the structure I am trying to describe is clear - I have used a mixture of Pseudo UML and YML.
An aside: YML is a superset of JSON, and is used in the Symfony framework.
© Stack Overflow or respective owner