Skip to content

Conversation

@voxpelli
Copy link

@voxpelli voxpelli commented Mar 9, 2024

As there is nothing that ensures that the JSON is a JSON object and (sadly) JSON allows any of its data types to be used at the top level, even null

As there is nothing that ensures that the JSON is a JSON object and (sadly) JSON allows any of its data types to be used at the top level, even `null`
@sindresorhus
Copy link
Owner

While I agree with the change, this will have to wait until the next major version.

@voxpelli
Copy link
Author

While I agree with the change, this will have to wait until the next major version.

Absolutely 👍

@voxpelli voxpelli requested a review from sindresorhus March 10, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants