Open topic with navigation

# clear

The `clear` method clears the array, so that it contains no values.

## Syntax

    clear()

## Example

    local myJsonArray = LuaJsonArray:new(4,"a string",true)
    myJsonArray:clear()
    print (myJsonArray:string())
    -- []

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm