Json-syntax

Latest version: v2.3.1

Safety actively analyzes 629811 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

1.0.1

This makes a small correction to the behavior of Enums; using indexing to look up members rather than relying on the `__members__` dunder it uses the type directly.

To override it you'd need to subclass EnumMeta, but that's actually pretty easy.

1.0

This tweaks 0.3.0 to add some convenience methods to the RuleSet class, and adds some docstrings.

0.3.0

- Adds the `show_pattern` verb to construct a `Pattern` object describing what the JSON looks like.
- Adds the `is_ambiguous` method to `RuleSet` to determine if a type description with `Union`s is ambiguous
- Adds a property test to prove round-tripping works with the standard rules.

0.1a0

First release on [pypi](https://pypi.org/project/json-syntax/0.1a0/).

Recommended installation: `pip install json-syntax`

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.