Add decoding.codec.json.lossy
option
#16406
Labels
domain: codecs
Anything related to Vector's codecs (encoding/decoding)
type: feature
A value-adding code addition that introduce new functionality.
A note for the community
Use Cases
Users wish to decode JSON with invalid UTF-8 characters (see #16300).
Attempted Solutions
No response
Proposal
The
json
codec gains alossy
option to control whether the incoming bytes are strictly interpreted as UTF-8.The option would be used like:
References
String::from_utf8
#10571Version
vector 0.27.0
The text was updated successfully, but these errors were encountered: