Skip to content

Add is_empty() method to Value#1326

Open
theoxfaber wants to merge 1 commit into
serde-rs:masterfrom
theoxfaber:add-is-empty-method
Open

Add is_empty() method to Value#1326
theoxfaber wants to merge 1 commit into
serde-rs:masterfrom
theoxfaber:add-is-empty-method

Conversation

@theoxfaber

Copy link
Copy Markdown

Adds an is_empty() method to serde_json::Value that returns true for Null, empty string, empty array, and empty object.

Helps with #1283

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant