JsonProtocol

firrtl.annotations.JsonProtocol
object JsonProtocol extends LazyLogging

Attributes

Deprecated
[Since version Chisel 7.0.0] All APIs in package firrtl are deprecated.
Source
JsonProtocol.scala
Graph
Supertypes
trait LazyLogging
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

class CompleteTargetSerializer extends CustomSerializer[CompleteTarget]

Attributes

Source
JsonProtocol.scala
Supertypes
class CustomSerializer[CompleteTarget]
trait Serializer[CompleteTarget]
class Object
trait Matchable
class Any
class ComponentNameSerializer extends CustomSerializer[ComponentName]

Attributes

Source
JsonProtocol.scala
Supertypes
class CustomSerializer[ComponentName]
trait Serializer[ComponentName]
class Object
trait Matchable
class Any
class GenericTargetSerializer extends CustomSerializer[GenericTarget]

Attributes

Source
JsonProtocol.scala
Supertypes
class CustomSerializer[GenericTarget]
trait Serializer[GenericTarget]
class Object
trait Matchable
class Any
class InstanceTargetSerializer extends CustomSerializer[InstanceTarget]

Attributes

Source
JsonProtocol.scala
Supertypes
class CustomSerializer[InstanceTarget]
trait Serializer[InstanceTarget]
class Object
trait Matchable
class Any
class IsMemberSerializer extends CustomSerializer[IsMember]

Attributes

Source
JsonProtocol.scala
Supertypes
class CustomSerializer[IsMember]
trait Serializer[IsMember]
class Object
trait Matchable
class Any
class IsModuleSerializer extends CustomSerializer[IsModule]

Attributes

Source
JsonProtocol.scala
Supertypes
class CustomSerializer[IsModule]
trait Serializer[IsModule]
class Object
trait Matchable
class Any
class LoadMemoryFileTypeSerializer extends CustomSerializer[MemoryLoadFileType]

Attributes

Source
JsonProtocol.scala
Supertypes
class CustomSerializer[MemoryLoadFileType]
trait Serializer[MemoryLoadFileType]
class Object
trait Matchable
class Any
class ModuleNameSerializer extends CustomSerializer[ModuleName]

Attributes

Source
JsonProtocol.scala
Supertypes
class CustomSerializer[ModuleName]
trait Serializer[ModuleName]
class Object
trait Matchable
class Any
class ModuleTargetSerializer extends CustomSerializer[ModuleTarget]

Attributes

Source
JsonProtocol.scala
Supertypes
class CustomSerializer[ModuleTarget]
trait Serializer[ModuleTarget]
class Object
trait Matchable
class Any
class NamedSerializer extends CustomSerializer[Named]

Attributes

Source
JsonProtocol.scala
Supertypes
class CustomSerializer[Named]
trait Serializer[Named]
class Object
trait Matchable
class Any
class ReferenceTargetSerializer extends CustomSerializer[ReferenceTarget]

Attributes

Source
JsonProtocol.scala
Supertypes
class CustomSerializer[ReferenceTarget]
trait Serializer[ReferenceTarget]
class Object
trait Matchable
class Any
class TargetSerializer extends CustomSerializer[Target]

Attributes

Source
JsonProtocol.scala
Supertypes
class CustomSerializer[Target]
trait Serializer[Target]
class Object
trait Matchable
class Any
class UnrecognizedAnnotationSerializer extends CustomSerializer[JObject]

Attributes

Source
JsonProtocol.scala
Supertypes
class CustomSerializer[JObject]
trait Serializer[JObject]
class Object
trait Matchable
class Any

Value members

Concrete methods

def deserialize(in: JsonInput, allowUnrecognizedAnnotations: Boolean = ...): Seq[Annotation]

Deserialize JSON input into a Seq[Annotation]

Deserialize JSON input into a Seq[Annotation]

Value parameters

allowUnrecognizedAnnotations

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

in

JsonInput, can be file or string

Attributes

Source
JsonProtocol.scala
def deserializeTry(in: JsonInput, allowUnrecognizedAnnotations: Boolean = ...): Try[Seq[Annotation]]

Attributes

Source
JsonProtocol.scala
def jsonFormat(tags: Seq[Class[_]]): Formats

Construct Json formatter for annotations

Construct Json formatter for annotations

Attributes

Source
JsonProtocol.scala
def jsonFormat(tags: Seq[Class[_]], hintOverride: Map[Class[_], String]): Formats

Construct Json formatter for annotations

Construct Json formatter for annotations

Attributes

Source
JsonProtocol.scala
def serialize(annos: Seq[Annotation]): String

Serialize annotations to a String for emission

Serialize annotations to a String for emission

Attributes

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

Attributes

Note

this is slower than standard serialization

Source
JsonProtocol.scala
def serializeTry(annos: Seq[Annotation]): Try[String]

Attributes

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

Value parameters

annos

Annotations to serialize

out

Writer to which the serialized annotations will be written

Attributes

Source
JsonProtocol.scala

Inherited methods

Attributes

Inherited from:
LazyLogging
Source
Logger.scala

Inherited fields

protected val logger: Logger

Attributes

Inherited from:
LazyLogging
Source
Logger.scala