Open topic with navigation

# size

The `size` method returns the number of attributes (name/value pairs) in the JSON object.

## Syntax

    size()

## Returns

(Number). The number of attributes in the JSON object.

## Example

    local myJsonObject = LuaJsonObject:new( { product="IDOL" , version=11 } )
    print (myJsonObject:size())
    -- 2

© 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