Skip to content

[Feature request] Add DateParseHandling.None to RestRequest #47

@HiQ-wipa

Description

@HiQ-wipa

As discussed at JamesNK/Newtonsoft.Json#862, Newtonsoft.Json likes to reinterpret date strings, which often causes nasty surprises with Frends.Web.RestRequest.

I think the RestRequest task should have a new option, e.g. "Disable date parsing", which would disable this behaviour.

In practice, I think this option needs to be passed to TryParseRequestStringResultAsJToken, which would use JsonConvert.DeserializeObject with appropriate parsing options if this option is set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions