Was this page helpful?

String.Deserialize

    Table of contents
    1. 1. Usage Restrictions
    2. 2. Parameters
    3. 3. Result
    4. 4. Samples
    string.Deserialize(value : str) : any

    Convert a string into a value.  This function should be used in conjunction with string.Serialize.

    Usage Restrictions

    1.9.1 or later.

    Parameters

    Name Type Description
    value str The string value.

    Result

    The string value.

    Samples

      Output

    To deserialize a serialized list of numbers:

    {{ string.deserialize(string.serialize([1, 2, 3])) }} 

    [ 1, 2, 3 ]

     

    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by