Skip to content

Comments

Raise error when json files are parsed and their root value is an array instead of object.#225

Merged
rwblair merged 5 commits intomainfrom
enh/raise_error_on_non_object_json
Aug 19, 2025
Merged

Raise error when json files are parsed and their root value is an array instead of object.#225
rwblair merged 5 commits intomainfrom
enh/raise_error_on_non_object_json

Conversation

@rwblair
Copy link
Member

@rwblair rwblair commented Aug 8, 2025

fixes #178

This is being thrown on sidecar loading so could generate a large number of errors for an inherited file.

rwblair and others added 3 commits August 19, 2025 12:27
…_object_json.md

Co-authored-by: Chris Markiewicz <markiewicz@stanford.edu>
Co-authored-by: Chris Markiewicz <markiewicz@stanford.edu>
Co-authored-by: Chris Markiewicz <markiewicz@stanford.edu>
@rwblair rwblair merged commit 2e6a949 into main Aug 19, 2025
26 checks passed
@effigies effigies deleted the enh/raise_error_on_non_object_json branch December 18, 2025 17:15
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.

Validate that a .json file contains an object

2 participants