Summary

SkipValue method allows to skip data value while de-serializing. Both, simple types, such as Integer or string, and complex types, such as records, objects or arrays can be skipped using SkipValue method.

Syntax

procedure SkipValue;

Remarks

Call SkipValue method to skip single data value while de-serializing. SkipValue method can be used to skip a single value of any type, including arrays and objects. In de-serialization process SkipValue should be generally used instead of corresponding Value method call, if the value itself is not required. Serialization engine also uses SkipValue internally, when skipping unknown class or record members.

Examples

DelphiCopyCode imageCopy Code
str := D.Value<string>;
D.SkipValue;
cust := D.Value<TMyCustomer>;