Skip to main content

JSONAttributeValue

Functions

new

JSONAttributeValue.new(
objectInstance,
attributeNamestring,
defaultValueany
) → JSONAttributeValue

Constructs a new JSONAttributeValue

Show raw api
{
    "functions": [
        {
            "name": "new",
            "desc": "Constructs a new JSONAttributeValue",
            "params": [
                {
                    "name": "object",
                    "desc": "",
                    "lua_type": "Instance"
                },
                {
                    "name": "attributeName",
                    "desc": "",
                    "lua_type": "string"
                },
                {
                    "name": "defaultValue",
                    "desc": "",
                    "lua_type": "any"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "JSONAttributeValue"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 22,
                "path": "src/attributeutils/src/Shared/JSONAttributeValue.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "JSONAttributeValue",
    "desc": "",
    "source": {
        "line": 4,
        "path": "src/attributeutils/src/Shared/JSONAttributeValue.lua"
    }
}