mirror of
https://github.com/nushell/nushell.git
synced 2024-12-11 09:43:24 +01:00
49 lines
964 B
Plaintext
49 lines
964 B
Plaintext
// test
|
|
# all
|
|
// comment
|
|
/*
|
|
styles
|
|
*/
|
|
# with lf
|
|
|
|
|
|
|
|
# !
|
|
|
|
{
|
|
# hjson style comment
|
|
foo1: This is a string value. # part of the string
|
|
foo2: "This is a string value." # a comment
|
|
|
|
// js style comment
|
|
bar1: This is a string value. // part of the string
|
|
bar2: "This is a string value." // a comment
|
|
|
|
/* js block style comments */foobar1:/* more */This is a string value./* part of the string */
|
|
/* js block style comments */foobar2:/* more */"This is a string value."/* a comment */
|
|
|
|
rem1: "# test"
|
|
rem2: "// test"
|
|
rem3: "/* test */"
|
|
|
|
num1: 0 # comment
|
|
num2: 0.0 // comment
|
|
num3: 2 /* comment */
|
|
|
|
true1: true # comment
|
|
true2: true // comment
|
|
true3: true /* comment */
|
|
|
|
false1: false # comment
|
|
false2: false // comment
|
|
false3: false /* comment */
|
|
|
|
null1: null # comment
|
|
null2: null // comment
|
|
null3: null /* comment */
|
|
|
|
str1: 00 # part of the string
|
|
str2: 00.0 // part of the string
|
|
str3: 02 /* part of the string */
|
|
}
|