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

Add JSON writer #423

Merged
merged 3 commits into from
Aug 2, 2024
Merged

Conversation

caufieldjh
Copy link
Member

No description provided.

@caufieldjh caufieldjh linked an issue Aug 2, 2024 that may be closed by this pull request
@caufieldjh caufieldjh marked this pull request as ready for review August 2, 2024 18:53
@caufieldjh caufieldjh merged commit ba0e109 into main Aug 2, 2024
2 checks passed
@caufieldjh caufieldjh deleted the 420-ontogpt-is-exporting-yaml-even-with-json-flag branch August 2, 2024 18:58
logger = logging.getLogger(__name__)


def eliminate_empty(obj: Any, preserve=False) -> Any:
Copy link
Member

Choose a reason for hiding this comment

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

could reuse the same function that is used for the yaml

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.

OntoGPT is exporting YAML even with JSON flag
2 participants