GenericDocument: add implicit conversion to ParseResult
To simplify the error handling, this commit adds an implicit conversion of GenericDocument to ParseResult, allowing code like (already in the documentation): ParseResult ok = doc.Parse(json); if (!ok) // ...
Showing
Please
register
or
sign in
to comment