Collection-json

Latest version: v0.1.1

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

Scan your dependencies

0.1.1

-----------------------------
- cast value to the right type when setting arrays
(items, links, queries, data) and typed values (error, template)
- added support for Template to load from json
- support serializing Collection directly as string
- added helper for returning the first match in an array

0.1.0

--------------------------
- added basic classes for representing Collection+JSON documents
- allow querying array items by rel and name attributes
- attribute lookup on array searches items by name
- ensure href is a required parameter for collection
- expose data item names as 'properties' attribute in Item and Template
- access data items via attribute lookup on item name

0.0.1dev

---------------------
- Initial release.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.