Skip to content

✨ Added modules and helpers for carrying out operations on YAML and JSON#872

Merged
acabarbaye merged 9 commits into
masterfrom
json
May 26, 2026
Merged

✨ Added modules and helpers for carrying out operations on YAML and JSON#872
acabarbaye merged 9 commits into
masterfrom
json

Conversation

@acabarbaye
Copy link
Copy Markdown
Contributor

Description

Description

  • added validation rules for paths
  • added standard ways for serialising JSON and YAML content/files
  • added a standard way to validate a JSON or YAML file against a JSON Schema

Test Coverage

  • This change is covered by existing or additional automated tests.
  • Manual testing has been performed (and evidence provided) as automated testing was not feasible.
  • Additional tests are not required for this change (e.g. documentation update).

Comment thread utils/validation/jsonschema/validation.go Fixed
Comment thread utils/filesystem/rules.go
Comment thread utils/serialization/json/helpers.go Outdated
Comment thread utils/serialization/json/helpers.go
Comment thread utils/serialization/yaml/helpers.go
Comment thread utils/validation/jsonschema/validator.go
joshjennings98
joshjennings98 previously approved these changes May 26, 2026
Copy link
Copy Markdown
Contributor

@joshjennings98 joshjennings98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good. I only had a few comments

a general improvement of validation rules will be done in a separate PR
@acabarbaye acabarbaye merged commit adb8c3c into master May 26, 2026
7 checks passed
@acabarbaye acabarbaye deleted the json branch May 26, 2026 13:21
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