Serialization of objects
Reference
measured.json
codecs_installed() -> Generator[None, None, None]
A context within which the standard library's json module will be aware of
how to encode and decode measured objects.
Source code in src/measured/json.py
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | |
install() -> None
Installs the measured library's JSON encoder and decoder as the default
Source code in src/measured/json.py
99 100 101 | |
uninstall() -> None
Uninstalls the measured library's JSON encoder and decoder from the default
Source code in src/measured/json.py
104 105 106 107 108 | |