o

firrtl.annotations

JsonProtocol

object JsonProtocol extends LazyLogging

Source
JsonProtocol.scala
Linear Supertypes
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

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