Skip to content

Checking keys of two jsons against eachother #1465

Description

@simulationcloud

So, I have two JSON configuration files that may be nested multiple layers deep. One consists of all possible parameters a user can input set to their default value. The other is JSON input from a user. I want to check that no key (including nested keys) exists in the user JSON that does not exist in the configuration JSON.

Is there a simple way to do this?

Thank you very much in advance!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions