json
json copied to clipboard
support seeded deserialize for stream
closes #304.
Adds a new next_seed(seed: S) -> Option<Result<T>> API to StreamDeserializer.
I don't like that it still uses T, but besides duplicating the API I don't see a good way around that since removing the bound would be a breaking change. I don't consider it a major limitation.