decode

Function decode 

Source
pub fn decode(
    bytes: impl AsRef<[u8]>,
    lua: &Lua,
    config: EncodeDecodeConfig,
) -> LuaResult<LuaValue>
Expand description

Decodes / deserializes the given string into a value, using the specified configuration.

ยงErrors

Errors when the decoding fails.