Share this page

# lr.deserialize

Example: lr.deserialize | String and Parameter Functions

Expands an object to represent its ASCII components. (Java only)

## Java Language

    String lr.deserialize ([String value,]int index , [booleanmethod] );

## Arguments

Name | Comments
--- | ---
value | The string to be used during replay.
index | The zero-based index number of the binary file containing the object data.
Method | If "false", use Java's standard deserialization. (default). If "true", use VuGen's deserialization mechanism. This parameter is optional (default=true)

The lr.deserialize method opens an object to represent its ASCII components. This allows you to manually parameterize the members of the object. Binary files containing the object data are sequentially numbered and saved under the Vuser directory. This function is not programmable. It is generated by VuGen during recording and automatically associated with the applicable binary files.

When you specify a string value, you also specify an index, but not a method. When you specify an index, you also indicate a method, but not a value.

## Return Values

This function returns the value of the specified string or null on error.

## Parameterization

You cannot use standard parameterization for any arguments in this function.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: