You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First: serialize a QVariant() return NULL, why? It's not convenient at all to use that in an app afterwards.
I guess you are talking about an invalid QVariant (like the one returned by QVariant()). Probably it would be better to mark the serialization process as failed. What do you think about it?
Second: I quote from the doc "If the returned string is empty, the document was empty." I don't get that at all ! An empty string is not json...
Are you talking about parsing a json object into a QVariant? I don't think that's a big deal, but if you want I could mark the parsing process as failed.
Concerning the second question, it's just written in the documentation for the serialization. And it doesn't make sense to me, because the empty string isn't json.
So I need to do a test of an empty string over your library, which is a bit redundant of the purpose of the lib.
Hello,
Two big problems about the library:
The text was updated successfully, but these errors were encountered: