Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

how to deserialize of json of topology ?

hi guys,

i am trying to deserialize json of topology using jackson which looks like

{ topology: [1] 0: { topology-id: "flow:1" link: [...6]- node: [...4]-

}-

}

but i am getting error

com.fasterxml.jackson.databind.JsonMappingException: Can not construct instance of org.opendaylight.yang.gen.v1.urn.intel.params.xml.ns.yang.mynetwork.topology.rev150525.mynetwork.topology.Topology, problem: abstract types either need to be mapped to concrete types, have custom deserializer, or be instantiated with additional type information

can anybody have idea how to deserialize this json ?

how to deserialize of json of topology ?

hi guys,

i am trying to deserialize json of topology using jackson which looks like

{ topology: [1] 0: { topology-id: "flow:1" link: [...6]- node: [...4]-

}-

}

but i am getting error

com.fasterxml.jackson.databind.JsonMappingException: Can not construct instance of org.opendaylight.yang.gen.v1.urn.intel.params.xml.ns.yang.mynetwork.topology.rev150525.mynetwork.topology.Topology, problem: abstract types either need to be mapped to concrete types, have custom deserializer, or be instantiated with additional type information

can anybody have idea how to deserialize this json ?