Created
January 3, 2017 19:03
-
-
Save busti/fea360e513c0d049823458a90c7d7d54 to your computer and use it in GitHub Desktop.
Mockup yaml document containing some recursive Data.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%YAML 1.1 | |
%TAG ! tag:lorem.org,2002: | |
--- | |
config: | |
version: 1.7.2 | |
foo: test | |
bar: true | |
foo: | |
#Every String value within this map should be parsed into a custom Object of type foo.bar.ClassName | |
#Other types of data will not be parsed. | |
#Recursive data can be denoted with a custom Tag. | |
#Scalars containing content other than strings should not be parsed into foo.bar.ClassName | |
lorem: Some string for testing | |
ipsum: Some other string for testing | |
dolor: !customTagX | |
some: Another string here | |
more: And another | |
keys: !customTagX | |
even: More strings | |
more: Even More nested content | |
here: More Data here | |
sit: !customTagX | |
string-data: String Data | |
number-data: 13.7 #Will become a double number by default | |
boolean-data: false #Will become a boolean by default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment