about summary refs log tree commit diff stats
path: root/test.fff
blob: 5df40007a2b95552354ee38fd8531ac6f0a218de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# fff test file
## mime-type: text/flat-as-fuck or text/plain

## "naked" items

naked1: value1
naked2: value2

## objects
# objects are names followed by 2 colons then a block of items
# a blank line ends the object.

U.S. Capitals::
Alaska: Anchorage
New York: Albany

World capitals::
France: Paris
Mexico: Mexico City

## arrays
# arrays are similar to objects, except the items don't have keys.
# you can't have "naked" array items, because fff files always map to json objects.

My favorite fruit::
: apple
: banana
: grape

Vegetables I hate::
: mushrooms
: corn

## References
# For structure, you can reference previously-defined objects, arrays, and items as values.
# Prepend the thing's name with "@".

Capitals::
: @U.S. Capitals
: @World capitals

## You can put pretty much anything in the name of something or its value.
# If you need to escape it, use a backslash.

Fargo\: the movie: one of the films of all time
You can even: escape new lines \
              with a backslash. it'll delete all the space preceding the value \
	      on the \#next line so you can have nice hanging indents. \
\	      (If you need weird spacing ... you can do this weird backslash thing.)

My twitter handle: \@iDontHaveOneLol