Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes-issue-34 #164

Open
wants to merge 1 commit into
base: 5.2.0
Choose a base branch
from
Open

Fixes-issue-34 #164

wants to merge 1 commit into from

Conversation

valtersg
Copy link

@valtersg valtersg commented Mar 3, 2025

pScheduler style 'comments' in JSON files.
JSON "keys" that start with # will be considered "comments" and ignored when parsing the config file.

example /etc/perfsonar/psconfig/pscheduler-agent.json:

{
	'remotes': [],
	'#comment': "example"
}

previously gave an error:

...Error: Additional properties are not allowed ('#comment' were unexpected)

now - no errors.

code from pScheduler

@valtersg valtersg linked an issue Mar 3, 2025 that may be closed by this pull request
@valtersg valtersg requested a review from laeti-tia March 3, 2025 13:58
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.

Add support for JSON comments
1 participant