Hgijson

Latest version: v3.1.0

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

Scan your dependencies

Page 1 of 3

3.1.0

Added
- Support for working with nested JSON properties.

3.0.1

Removed
- Unused imports.

3.0.0

Added
- Ability to use custom collections with the `collection_factory` and `collection_iter` parameters.

Changed
- Refactored tests.
- Renamed subpackage from `types` -> `custom_types` to avoid namespace clash with standard library.

Removed
- Test dependency on legacy `hgicommon` library.
- `SetJSONDecoder` and `SetJSONEncoder` (use `collection_factory=set` instead).

2.0.0

Changed
- Renamed subpackage from `json` -> `json_converters` to avoid namespace clash with standard library.
- Moved from using `nose` -> `unittest` for testing.
- Only the first 3 arguments of `JsonPropertyMapping` can be used as args: the remainder must be kwargs.

Removed
- Ability to pass arguments through arbitrary arguments from `JsonPropertyMapping` to `PropertyMapping`
- Use of args with `PropertyMapping` (kwargs only).

1.5.0

Changed
- Moved to using a PyPi version of
[HGI's common Python library](https://github.com/wtsi-hgi/python-common) for
testing, opposed to using it from GitHub.
- Fixed bug in `DatetimeISOFormatJSONDecoder`.

1.4.3

Added
- Support for defining encoders/decoders for objects with properties of the same type
([19](https://github.com/wtsi-hgi/python-json/issues/19)).

Changed
- Moved the documentation over to ReadTheDocs, opposed to bundling it all in the README.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.