json.json.vtype
Declaration
lua
json.vtype(data [, path])
Description
Get JSON type of value at path.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
data | table|string | Required | — | |
path | string | Optional | — |
Return Values
| Type | Description |
|---|---|
| string | "string", "number", "boolean", "array", "object", or "nil" |