Skip to content

Align StreamDeserializer with serde_json #202

@greged93

Description

@greged93

Would be nice to have the exact same API for StreamDeserializer as serde_json, currently missing these two methods:

/// Create a JSON stream deserializer from one of the possible serde_json input sources.
pub fn new(read: R) -> Self
/// Returns the number of bytes so far deserialized into a successful T.
pub fn byte_offset(&self) -> usize

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions