mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-11-04 00:51:56 +00:00 
			
		
		
		
	test: add json highlight test
This commit is contained in:
		
							
								
								
									
										29
									
								
								tests/syntax-tests/source/JSON/test.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								tests/syntax-tests/source/JSON/test.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,29 @@
 | 
			
		||||
[
 | 
			
		||||
    {
 | 
			
		||||
        "name": "john",
 | 
			
		||||
        "age": 42,
 | 
			
		||||
        "isCustomer": false,
 | 
			
		||||
        "children": []
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
        "name": "james",
 | 
			
		||||
        "age": 35,
 | 
			
		||||
        "isCustomer": true,
 | 
			
		||||
        "children": [
 | 
			
		||||
            {
 | 
			
		||||
                "name": "linus",
 | 
			
		||||
                "age": 4
 | 
			
		||||
            },
 | 
			
		||||
            {
 | 
			
		||||
                "name": "sandra",
 | 
			
		||||
                "age": 2
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
        "name": "jessica",
 | 
			
		||||
        "age": null,
 | 
			
		||||
        "isCustomer": false,
 | 
			
		||||
        "children": []
 | 
			
		||||
    }
 | 
			
		||||
]
 | 
			
		||||
		Reference in New Issue
	
	Block a user