mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	
		
			
	
	
		
			1704 lines
		
	
	
	
		
			41 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
		
		
			
		
	
	
			1704 lines
		
	
	
	
		
			41 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| 
								 | 
							
								Parts from https://github.com/nst/JSONTestSuite
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								MIT License
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								Copyright (c) 2016 Nicolas Seriot
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								Permission is hereby granted, free of charge, to any person obtaining a copy
							 | 
						|||
| 
								 | 
							
								of this software and associated documentation files (the "Software"), to deal
							 | 
						|||
| 
								 | 
							
								in the Software without restriction, including without limitation the rights
							 | 
						|||
| 
								 | 
							
								to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
							 | 
						|||
| 
								 | 
							
								copies of the Software, and to permit persons to whom the Software is
							 | 
						|||
| 
								 | 
							
								furnished to do so, subject to the following conditions:
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								The above copyright notice and this permission notice shall be included in all
							 | 
						|||
| 
								 | 
							
								copies or substantial portions of the Software.
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
							 | 
						|||
| 
								 | 
							
								IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
							 | 
						|||
| 
								 | 
							
								FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
							 | 
						|||
| 
								 | 
							
								AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
							 | 
						|||
| 
								 | 
							
								LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
							 | 
						|||
| 
								 | 
							
								OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
							 | 
						|||
| 
								 | 
							
								SOFTWARE.
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_number_double_huge_neg_exp.json
							 | 
						|||
| 
								 | 
							
								[123.456e-789]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_number_huge_exp.json
							 | 
						|||
| 
								 | 
							
								[0.4e00669999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999969999999006]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_number_neg_int_huge_exp.json
							 | 
						|||
| 
								 | 
							
								[-1e+9999]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_number_pos_double_huge_exp.json
							 | 
						|||
| 
								 | 
							
								[1.5e+9999]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_number_real_neg_overflow.json
							 | 
						|||
| 
								 | 
							
								[-123123e100000]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_number_real_pos_overflow.json
							 | 
						|||
| 
								 | 
							
								[123123e100000]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_number_real_underflow.json
							 | 
						|||
| 
								 | 
							
								[123e-10000000]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_number_too_big_neg_int.json
							 | 
						|||
| 
								 | 
							
								[-123123123123123123123123123123]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_number_too_big_pos_int.json
							 | 
						|||
| 
								 | 
							
								[100000000000000000000]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_number_very_big_negative_int.json
							 | 
						|||
| 
								 | 
							
								[-237462374673276894279832749832423479823246327846]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_object_key_lone_2nd_surrogate.json
							 | 
						|||
| 
								 | 
							
								{"\uDFAA":0}
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_string_1st_surrogate_but_2nd_missing.json
							 | 
						|||
| 
								 | 
							
								["\uDADA"]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_string_1st_valid_surrogate_2nd_invalid.json
							 | 
						|||
| 
								 | 
							
								["\uD888\u1234"]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_string_incomplete_surrogate_and_escape_valid.json
							 | 
						|||
| 
								 | 
							
								["\uD800\n"]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_string_incomplete_surrogate_pair.json
							 | 
						|||
| 
								 | 
							
								["\uDd1ea"]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_string_incomplete_surrogates_escape_valid.json
							 | 
						|||
| 
								 | 
							
								["\uD800\uD800\n"]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_string_invalid_lonely_surrogate.json
							 | 
						|||
| 
								 | 
							
								["\ud800"]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_string_invalid_surrogate.json
							 | 
						|||
| 
								 | 
							
								["\ud800abc"]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_string_invalid_utf-8.json
							 | 
						|||
| 
								 | 
							
								["<22>"]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_string_inverted_surrogates_U+1D11E.json
							 | 
						|||
| 
								 | 
							
								["\uDd1e\uD834"]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_string_iso_latin_1.json
							 | 
						|||
| 
								 | 
							
								["<22>"]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_string_lone_second_surrogate.json
							 | 
						|||
| 
								 | 
							
								["\uDFAA"]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_string_lone_utf8_continuation_byte.json
							 | 
						|||
| 
								 | 
							
								["<22>"]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_string_not_in_unicode_range.json
							 | 
						|||
| 
								 | 
							
								["<22><><EFBFBD><EFBFBD>"]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_string_overlong_sequence_2_bytes.json
							 | 
						|||
| 
								 | 
							
								["<22><>"]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_string_overlong_sequence_6_bytes.json
							 | 
						|||
| 
								 | 
							
								["<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_string_overlong_sequence_6_bytes_null.json
							 | 
						|||
| 
								 | 
							
								["<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_string_truncated-utf-8.json
							 | 
						|||
| 
								 | 
							
								["<22><>"]
							 | 
						|||
| 
								 | 
							
								>>>
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								<<< i_string_utf16BE_no_BOM.json
							 | 
						|||
| 
								 | 
							
								 |