flake8
passed.
JSHint
passed.
Review Request #13254 — Created Sept. 3, 2023 and submitted
This introduces
Certificate.to_json()
, which creates a serialized
representation of the certificate information. This will be useful for
API payloads soon for error results.
CertificateFingerprints.serialize()
has been renamed toto_json()
,
allowing it to be included in aSerializableJSONValue
payload.
deserialize()
was renamed tofrom_json()
for consistency. Going
forward, we should strive for these names for any JSON serialization
functionality.
CertificateFingerprints
also gained an equality check, needed for the
Certificate.to_json()
tests.
Unit tests pass.
Made use of
to_json()
in an upcoming change for API errors.
Summary | ID |
---|---|
3eb6d297655bfbb6b38b2e34e3a4597a35b99e7c |