nushell/tests/assets/nu_json/comments_test.hjson

49 lines
964 B
Plaintext
Raw Permalink Normal View History

// 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 */
}