Created
June 6, 2012 15:28
-
-
Save Evgenus/2882643 to your computer and use it in GitHub Desktop.
OOML
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
float-field-1: 1.0 | |
float-field-2: float > 1 | |
a-list: | |
1 | |
int > 2 | |
float > 3 | |
string > 4 | |
" some string with spaces " | |
raw string line with any characters will be stripper during parsing | |
"float > 1 is string line with special characters like >" | |
string > line with quotes ' or double quotes " will be stripper during parsing | |
string | | |
multiline string value | |
should have +1 indent from previous scope | |
other spaces like at start of this line remains | |
| | |
you can even ommit type | |
in that multiline string value | |
a-map: | |
1: 11 | |
string > 1 : string > 11 | |
email > "me@server.com" : object > | |
field1: A | |
field2: some-string-class > string-value | |
some-string-class > field2: some-string-class > "some string with spaces" | |
splited | |
: key record | |
| | |
multiline string value | |
used for key | |
: | | |
and multiline string | |
as value of filed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment