public static CancelSnapshotBridgeResult deserialize ( String bridgeResult ) { JaxbJsonSerializer < CancelSnapshotBridgeResult > serializer = new JaxbJsonSerializer <> ( CancelSnapshotBridgeResult . class ) ; try { return serializer . deserialize ( bridgeResult ) ; } catch ( IOException e ) { throw new SnapshotDataException ( "Unable to deserialize result due to: " + e . getMessage ( ) ) ; } }
Parses properties from bridge result string