Skip to content

Provide extra functions to return Options when the input is null as Serde usually does #4

Closed
@saikrishna1-bidgely

Description

@saikrishna1-bidgely
  • serde-this-or-that version: 0.4
  • Rust Compiler (rustc) version: 1.66.0 (69f9c33d7 2022-12-12)
  • Operating System: Mac

Description

I want to get an Option when there is null value like Serde usually does. Currently, the exported functions only support types and not Options of those types.
I want some extra functions like as_opt_bool, as_opt_f64, as_opt_i64, as_opt_string, as_opt_u64 which will return an Option of the respective data type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions