Connector Framework Server 24.4
IDOL Connector Framework Server Help

# value

The `value` method gets the value, if the JSON value is a simple type (a Boolean, float, integer, or string). This method returns a default value if one is specified and the value cannot be converted to the same type as the default.

## Syntax

    value( [default] )

## Arguments

Argument | Description
--- | ---
`default` | (lua_json_simple_type) The default value to return, if the value cannot be converted to the same type as the default. You can specify a Boolean, float, integer, string, or nil.

## Returns

(lua_json_simple_type). A Boolean, float, integer, string, or nil.

Copyright 2024 Open Text
Version 24.4 | Last updated September 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Connector Framework Server 24.4

Topic Title: value