Skip to main content

serialization:serializer to string

Version: 0.0.0

Description

Take any input and serialize them in a string.

Inputs

InputNameExpected type(s)Description
Pin -1
Required
stream_typeint320 for string (default), 1 for binary, 2 for binary with chunked output (the output string will be returned in several chunks to prevent string memory overflows).
Pin 1
Required
any_inputanyany input

Outputs

OutputNameExpected type(s)Description
Pin -1nof_chunksint32Number of chunks when mode passed to input pin(-1) = 2.
Pin 0serialized_stringstring

Configurations

NameExpected type(s)Default valueDescription
mutexboolfalseIf this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

Scripting

Category: serialization

Plugin: core

Scripting name: serializer_to_string

Full name: serialization.serializer_to_string

Internal name: serializer_to_string

License: None

Changelog

  • Version 0.0.0: Initial release.