-
-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could we introduce extension methods for validating JsonDocument
/json string by json schema
#237
Comments
JsonDocument
/json string by json schema easierJsonDocument
/json string by json schema easier
JsonDocument
/json string by json schema easierJsonDocument
/json string by json schema
I remember I had some problems with the string one in Manatee.Json. But that was due to the JSON model having an implicit cast from string (to make a JSON string), so there was ambiguity. I don't think that'll be an issue for this library. I think these can be added in. Can you create a PR? |
Sure, thanks |
@WeihanLi just letting you know that the move to This is a breaking change that will only appear at runtime. Your existing code that uses this extension method will likely still compile, but validations will now fail. |
@gregsdennis many thanks |
Environment
Can this library make doing something simpler?
Maybe we could introduce some extensions to make it more easier, for example:
Describe alternatives you've considered
Not sure if it's reasonable and valuable to add the
JsonDocument
method as an instance methodAdditional context
I'm new here, maybe there're some magic ways that I don't know
The text was updated successfully, but these errors were encountered: