{
"ints" : {
"fortyTwo" : 42,
"fortyTwoAgain" : ${ints.fortyTwo}
},
"floats" : {
"fortyTwoPointOne" : 42.1,
"fortyTwoPointOneAgain" : ${floats.fortyTwoPointOne},
"pointThirtyThree": .33
"pointThirtyThreeAgain": ${floats.pointThirtyThree}
},
"strings" : {
"abcd" : "abcd",
"abcdAgain" : ${strings.a}${strings.b}${strings.c}${strings.d},
"a" : "a",
"b" : "b",
"c" : "c",
"d" : "d",
"concatenated" : null bar 42 baz true 3.14 hi,
"double" : "3.14",
"doubleStartingWithDot": ".33",
"number" : "57",
"null" : "null",
"true" : "true",
"yes" : "yes",
"false" : "false",
"no" : "no"
},
"arrays" : {
"empty" : [],
"ofInt" : [1, 2, 3],
"ofString" : [ ${strings.a}, ${strings.b}, ${strings.c} ],
"ofDouble" : [3.14, 4.14, 5.14],
"ofNull" : [null, null, null],
"ofBoolean" : [true, false],
"ofArray" : [${arrays.ofString}, ${arrays.ofString}, ${arrays.ofString}],
"ofObject" : [${ints}, ${booleans}, ${strings}],
"firstElementNotASubst" : [ "a", ${strings.b} ]
},
"booleans" : {
"true" : true,
"trueAgain" : ${booleans.true},
"false" : false,
"falseAgain" : ${booleans.false}
},
"nulls" : {
"null" : null,
"nullAgain" : ${nulls.null}
},
"durations" : {
"second" : 1s,
"secondsList" : [1s,2seconds,3 s, 4000],
"secondAsNumber" : 1000,
"halfSecond" : 0.5s,
"millis" : 1 milli,
"micros" : 2000 micros,
"largeNanos" : 4878955355435272204ns,
"plusLargeNanos" : "+4878955355435272204ns",
"minusLargeNanos" : -4878955355435272204ns
},
"periods" : {
"day" : 1d,
"dayAsNumber": 2,
"week": 3 weeks,
"month": 5 mo,
"year": 8y
},
"memsizes" : {
"meg" : 1M,
"megsList" : [1M, 1024K, 1048576],
"megAsNumber" : 1048576,
"halfMeg" : 0.5M
},
"system" : {
"javaversion" : ${?java.version},
"userhome" : ${?user.home},
"home" : ${?HOME},
"pwd" : ${?PWD},
"shell" : ${?SHELL},
"lang" : ${?LANG},
"path" : ${?PATH},
"not_here" : ${?NOT_HERE},
"concatenated" : Your Java version is ${?system.javaversion} and your user.home is ${?system.userhome}
}
}