Skip to main content

Type Conversions

Convert between int, float, string and JSON

FunctionWhat it does
floatConvert to float
fromJSONThe value decoded from JSON text
intConvert to integer
stringConvert to string
toJSONThe value encoded as indented JSON text
typeThe name of a value's type