| | |
| | | package com.vci.rmip.code.client.codeapply.Apply410; |
| | | |
| | | import com.fasterxml.jackson.core.JsonProcessingException; |
| | | import com.fasterxml.jackson.databind.ObjectMapper; |
| | | import com.vci.base.ui.swing.VCIOptionPane; |
| | | import com.vci.base.ui.swing.components.VCIJPanel; |
| | | import com.vci.base.ui.tree.VCIBaseTree; |
| | |
| | | import javax.swing.event.TreeSelectionEvent; |
| | | import javax.swing.event.TreeSelectionListener; |
| | | import javax.swing.tree.TreePath; |
| | | |
| | | import org.codehaus.jackson.JsonProcessingException; |
| | | import org.codehaus.jackson.map.ObjectMapper; |
| | | import org.codehaus.jackson.type.TypeReference; |
| | | |
| | | import java.io.IOException; |
| | | import java.util.ArrayList; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | |
| | | if(object!=null) { |
| | | ObjectMapper objectMapper = new ObjectMapper(); |
| | | try { |
| | | codeClassifyList = objectMapper.readValue(object.toString(), new com.fasterxml.jackson.core.type.TypeReference<List<CodeClassify>>() { |
| | | codeClassifyList = objectMapper.readValue(object.toString(), new TypeReference<List<CodeClassify>>() { |
| | | }); |
| | | } catch (JsonProcessingException e) { |
| | | } catch (IOException e) { |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | |
| | | if(object!=null) { |
| | | ObjectMapper objectMapper = new ObjectMapper(); |
| | | try { |
| | | codeClassifyList = objectMapper.readValue(object.toString(), new com.fasterxml.jackson.core.type.TypeReference<List<CodeClassify>>() { |
| | | codeClassifyList = objectMapper.readValue(object.toString(), new TypeReference<List<CodeClassify>>() { |
| | | }); |
| | | } catch (JsonProcessingException e) { |
| | | } catch (IOException e) { |
| | | e.printStackTrace(); |
| | | } |
| | | } |