Open topic with navigation

# copy

The `copy` method returns a copy of the JSON object. Modifying the copy does not modify the original object.

## Syntax

    copy()

## Returns

(LuaJsonObject). A copy of the object.

## Example

    local myJsonObject = LuaJsonObject:new( { product="IDOL" , version=11 } )
    local anotherJsonObject = myJsonObject:copy()

    print (anotherJsonObject:string())
    -- {"product":"IDOL","version":11}

© 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