summary refs log tree commit diff stats
path: root/tests/flags/tgenscript.nim
blob: 6a037b5d8f7e8556edf6313270e7002daaff2242 (plain) (blame)
1
2
3
4
5
discard """
  file: "tgenscript.nim"
"""

echo "--genscript"
b58bd9ccba7b303007e900'>^
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
                        
                         




                    
                          
  




           

                    




                            
                             

 
                                                                             
 
// Simple JSON test file
// (c) 2011 Andreas Rumpf

/* a long comment */

{
  "key1": null,
  "obj": {"1": 2, "5": 4},
  
  "key2": [
    {},
    {   },
    [],
    
    [ // empty array
    ],
    
    -1e10 // another comment
    
  
  ]        ,
  "keyÄÖöoß\u00DF": false
}

// [{}, {899: 12, "x": "y"}, [], 123, 89, 89, "xyz", null, [], [], [1, 2, 3]]