public interface JSONCoderInterface
This interface allows you to override the standard method that are used to JSON encode ASN.1 types. Whenever the subclass of
encode(JSONWriter)method is called to generate JSON encoding of that type.
- ASN.1/Java 8.0
encodeEncodes this data value. This method is invoked when AbstractData value containing this data value is encoded. The character JSON content is emitted using
write()methods of the writer object. The data written is not analyzed in any way. It is user's responsibility to provide data compatible with JSON specification.