Open topic with navigation
The clear method clears the object, so that it contains no attributes (name/value pairs).
clear
clear()
local myJsonObject = LuaJsonObject:new( { product="IDOL" , version=11 } ) myJsonObject:clear() print (myJsonObject:string()) -- {}
© 2016-2017 Hewlett Packard Enterprise Development LP
Send documentation feedback to HPE
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!