зеркало из
				https://github.com/iharh/notes.git
				synced 2025-11-04 07:36:08 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			9 строки
		
	
	
		
			349 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			9 строки
		
	
	
		
			349 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
Map<String, Object> map = objectMapper.readValue(jsonString, new TypeReference<Map<String,Object>>(){});
 | 
						|
 | 
						|
JsonNode jsonNodeRoot = objectMapper.readTree(jsonString);
 | 
						|
JsonNode jsonNodeYear = jsonNodeRoot.get("year");
 | 
						|
String year = jsonNodeYear.asText();
 | 
						|
 | 
						|
import com.fasterxml.jackson.annotation.JsonInclude;
 | 
						|
@JsonInclude(JsonInclude.Include.NON_NULL)
 |