Commit 005bcf8c authored by Schuyler Eldridge's avatar Schuyler Eldridge
Browse files

Add DontSerialize Trait/Annotation



This adds a DontSerialize Annotation mixin that can be mixed into
annotations that a user does not want to be included in JSON
serialization. This differs subtly from the Unserializable mixin in
that unserializable indicates that an annotation cannot be serialized
while don't serialize indicates that an annotation has some
attribute that makes it a bad idea to serialize, e.g., it's very large
and not useful like FirrtlCircuitAnnotation.

Signed-off-by: default avatarSchuyler Eldridge <schuyler.eldridge@ibm.com>
parent 469ef3ee
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment