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.
I'd like a sync variant of
JsonSchema.FromJsonAsync, as there are scenarios in which an async call is not possible.Currently, the only work around is:
which is quite ugly.