We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello.
is there any way to test the value for NULL?
Assume we have a json
{"someid":null}
And I want to test if the value is null, not just empty. For testing it as empty I can do something like require.Empty(simplejsonData.Get("someid"))
Any help is appreciated.
The text was updated successfully, but these errors were encountered:
oh. finally found. require.Nil(simplejson.Get("someid").Interface())
Seems to me would be nice to have a special method like simplejson.MustNull()
Sorry, something went wrong.
No branches or pull requests
Hello.
is there any way to test the value for NULL?
Assume we have a json
And I want to test if the value is null, not just empty. For testing it as empty I can do something like require.Empty(simplejsonData.Get("someid"))
Any help is appreciated.
The text was updated successfully, but these errors were encountered: