- Error:
SerovalUnknownTypedArrayError - Step:
parse - Fields: none.
What it means
A value is a typed array, but not one of the types that seroval supports, so it cannot be serialized. Seroval finds the type with instanceof and does not read a name from the value.
Common causes
- The value is a newer typed array, such as
Float16Array.
How to fix it
- Convert the value to a supported typed array before serializing it, for example a
Float32Arrayor aUint16Arrayof the same bytes. - Write a plugin for the type.