Skip to content

JsonSchema.FromJsonAsync as synchronous method #1727

@ph1l1pF

Description

@ph1l1pF

I'd like a sync variant of JsonSchema.FromJsonAsync, as there are scenarios in which an async call is not possible.

var schema = JsonSchema.FromJson(myJsonString);

Currently, the only work around is:

var schema = JsonSchema.FromJsonAsync(myJsonString).Result;

which is quite ugly.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions