13 lines
		
	
	
		
			220 B
		
	
	
	
		
			Plaintext
		
	
	
	
		
		
			
		
	
	
			13 lines
		
	
	
		
			220 B
		
	
	
	
		
			Plaintext
		
	
	
	
| 
								 | 
							
								//Json类
							 | 
						||
| 
								 | 
							
								class Json {
							 | 
						||
| 
								 | 
							
								    //Table 转 String
							 | 
						||
| 
								 | 
							
								    function Encode(Table) {
							 | 
						||
| 
								 | 
							
								        return JSONEncoder.encode(Table);
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    //String 转 Table
							 | 
						||
| 
								 | 
							
								    function Decode(Str) {
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        return JSONParser.parse(Str);
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 |