from_string


Description:

public static Caps? from_string (string string)

Converts caps from a string representation.

The implementation of serialization up to 1.20 would lead to unexpected results when there were nested Caps / Structure deeper than one level.

Parameters:

string

a string to convert to Caps

Returns:

a newly allocated Caps