chisel6.4.0 < Back


# Packages

-  package root
  Definition Classes
    root
-  package firrtl
  Definition Classes
    root
-  package annotations
  Definition Classes
    firrtl
- Annotation
- AnnotationClassNotFoundException
- AnnotationException
- AnnotationFileNotFoundException
- AnnotationUtils
- CircuitName
- CircuitTarget
- CompleteTarget
- ComponentName
- GenericTarget
- HasSerializationHints
- InstanceTarget
- InvalidAnnotationFileException
- InvalidAnnotationJSONException
- IsComponent
- IsMember
- IsModule
- JsonProtocol
- LoadMemoryAnnotation
- MemoryFileInlineAnnotation
- MemoryInitAnnotation
- MemoryLoadFileType
- ModuleName
- ModuleTarget
- Named
- NoTargetAnnotation
- ReferenceTarget
- SingleTargetAnnotation
- Target
- TargetToken
- UnrecogizedAnnotationsException
- UnrecognizedAnnotation
- UnserializableAnnotationException
- UnserializeableAnnotation

o

firrtl.annotations

# JsonProtocol

###

#### object JsonProtocol extends LazyLogging

Source
  JsonProtocol.scala

Linear Supertypes
LazyLogging, AnyRef, Any

Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. JsonProtocol
2. LazyLogging
3. AnyRef
4. Any

1. Hide All
2. Show All

Visibility

1. Public
2. Protected

### Type Members

1.  class CircuitNameSerializer extends CustomSerializer[CircuitName]
2.  class CircuitTargetSerializer extends CustomSerializer[CircuitTarget]
3.  class CompleteTargetSerializer extends CustomSerializer[CompleteTarget]
4.  class ComponentNameSerializer extends CustomSerializer[ComponentName]
5.  class GenericTargetSerializer extends CustomSerializer[GenericTarget]
6.  class InstanceTargetSerializer extends CustomSerializer[InstanceTarget]
7.  class IsMemberSerializer extends CustomSerializer[IsMember]
8.  class IsModuleSerializer extends CustomSerializer[IsModule]
9.  class LoadMemoryFileTypeSerializer extends CustomSerializer[MemoryLoadFileType]
10.  class ModuleNameSerializer extends CustomSerializer[ModuleName]
11.  class ModuleTargetSerializer extends CustomSerializer[ModuleTarget]
12.  class NamedSerializer extends CustomSerializer[Named]
13.  class ReferenceTargetSerializer extends CustomSerializer[ReferenceTarget]
14.  class TargetSerializer extends CustomSerializer[Target]
15.  class UnrecognizedAnnotationSerializer extends CustomSerializer[JObject]

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##: Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
5.  def clone(): AnyRef
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws(classOf[java.lang.CloneNotSupportedException]) @native()
6.  def deserialize(in: JsonInput, allowUnrecognizedAnnotations: Boolean = false): Seq[Annotation]

   Deserialize JSON input into a Seq[Annotation]

   Deserialize JSON input into a Seq[Annotation]

   in

     JsonInput, can be file or string

   allowUnrecognizedAnnotations

     is set to true if command line contains flag to allow this behavior

7.  def deserializeTry(in: JsonInput, allowUnrecognizedAnnotations: Boolean = false): Try[Seq[Annotation]]
8.  final def eq(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef
9.  def equals(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef → Any
10.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.Throwable])
11.  final def getClass(): Class[_ <: AnyRef]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
12.  def getLogger: Logger
    Definition Classes
      LazyLogging
13.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
14.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
15.  def jsonFormat(tags: Seq[Class[_]]): Formats

    Construct Json formatter for annotations

16.  val logger: Logger
    Attributes
      protected
    Definition Classes
      LazyLogging
17.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
18.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
19.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
20.  def serialize(annos: Seq[Annotation]): String

    Serialize annotations to a String for emission

21.  def serializeRecover(annos: Seq[Annotation]): String

    Serialize annotations to JSON while wrapping unserializeable ones with UnserializeableAnnotation

    Serialize annotations to JSON while wrapping unserializeable ones with UnserializeableAnnotation

    Note

      this is slower than standard serialization

22.  def serializeTry[W <: Writer](annos: Iterable[Annotation], out: W): Try[W]

    Serialize annotations to a java.io.Writer

    Serialize annotations to a java.io.Writer

    annos

      Annotations to serialize

    out

      Writer to which the serialized annotations will be written

23.  def serializeTry(annos: Seq[Annotation]): Try[String]
24.  final def synchronized[T0](arg0: => T0): T0
    Definition Classes
      AnyRef
25.  def toString(): String
    Definition Classes
      AnyRef → Any
26.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
27.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
28.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException]) @native()

### Inherited from LazyLogging

### Inherited from AnyRef

### Inherited from Any

### Ungrouped