jsonmodels
jsonmodels copied to clipboard
jsonmodels is library to make it easier for you to deal with structures that are converted to, or read from JSON.
Basic support means allow to generate names with `@` sign, by passing `ld` or `linked_data` argument into field declaration, like: ``` python url = fields.CharField(linked_data=True) ``` or ``` python url...
Add field that that's value is an evaluation of some function. Probably this feature would need to rewrite whole structure to descriptors.
`anyjson` (https://pypi.python.org/pypi/anyjson) chooses fastest available json implementation - it would be usefull to use it instead of standard json library.
updates: - [github.com/psf/black: 22.6.0 → 22.8.0](https://github.com/psf/black/compare/22.6.0...22.8.0)
Hi, first off, thanks for writing and maintaining this library! The code below shows a very basic jsonmodel with two different permutations of `required` and `nullable` for `BaseField`. The two...
updates: - [github.com/psf/black: 23.11.0 → 24.8.0](https://github.com/psf/black/compare/23.11.0...24.8.0) - [github.com/PyCQA/isort: 5.12.0 → 5.13.2](https://github.com/PyCQA/isort/compare/5.12.0...5.13.2) - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v5.0.0)
While in [json-schema](https://json-schema.org/understanding-json-schema/reference/numeric.html#number) it is described that: "In Python, "number" is analogous to the float type" and "In Python, "integer" is analogous to the int type." In jsmodels the IntegerField...