This is the constructor of the FixNvfixTypeHelper class.
Optional delimiter value.
This method sets the delimiter value for the helper.
// set a custom delimiter
TypeHelper.helper('nvfix').delimiter('%01');
The new delimiter value.
The helper object.
This method returns the delimiter value of the helper.
// get the current delimiter value
const delimiter = TypeHelper.helper('fix').delimiter();
The delimiter value.
This method deserializes FIX/NVFIX data from the Server into an object with key/value pairs. Non-unique values will use the last value found in the message.
The data to deserialize.
Deserialized data as an object with key/value pairs.
This method is used to serialize data in order send it to the server. All data chunks will be converted into an array of strings.
The data to serialize.
Serialized data as an array of strings.
This is a default implementation of the FIX/NVFIX type helper. Messages are converted into JavaScript objects. Repeating groups will take on their last value and ordering of fields isn’t preserved. It is possible to set a custom delimiter for messages, by default it is
\x01
.TypeHelper class already provides instances of this class for types
fix
andnvfix
.