method Serializer.prototype.writeValueSerializer.prototype.writeValue(val: any): booleanDeprecatedSerializes a JavaScript value and adds the serialized representation to the internal buffer. This throws an error if value cannot be serialized. Parametersval: anyReturn Typeboolean