4. The method according to claim 1 , further comprising: monitoring, by the processor, each request of loading a definition of a new candidate type from the target software component, and updating by the processor, the plurality of available candidate types according to each monitored request.
1. A method for de-serializing a representation of a source object of a source software component written in a source language into a target software component written in a target language, the method comprising: receiving, by a processor, the representation of the source object, determining, by the processor, a set of candidate types among a plurality of available candidate types being available in the target language for the target software component, each candidate type in the set of candidate types being compatible with a representation of a source type of the source language, wherein the representation of the source type comprises a set of elements, wherein each of the plurality of available candidate types comprises a set of fields, and wherein determining the set of candidate types further comprises: calculating, by the processor, a set of loss indexes each one for a corresponding available candidate type, wherein each loss index of the set of loss indexes measures lost ones of the set of elements being not assignable to the set of fields of the available candidate type, and setting, by the processor, each available candidate type as a candidate type when the loss index corresponding to the available candidate type does not reach a threshold, calculating, by the processor, a set of match metrics, wherein each match metric corresponds to a candidate type and wherein the match metric being indicative of a difference in information content between the candidate type and the representation of the source type, selecting, by the processor, one of the set of candidate types according to the set of match metrics, and mapping, by the processor, the representation of the source type onto a target object of the selected candidate type.