object JsonProtocol extends LazyLogging
- Source
- JsonProtocol.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- JsonProtocol
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- class CircuitNameSerializer extends CustomSerializer[CircuitName]
- class CircuitTargetSerializer extends CustomSerializer[CircuitTarget]
- class CompleteTargetSerializer extends CustomSerializer[CompleteTarget]
- class ComponentNameSerializer extends CustomSerializer[ComponentName]
- class GenericTargetSerializer extends CustomSerializer[GenericTarget]
- class InstanceTargetSerializer extends CustomSerializer[InstanceTarget]
- class IsMemberSerializer extends CustomSerializer[IsMember]
- class IsModuleSerializer extends CustomSerializer[IsModule]
- class LoadMemoryFileTypeSerializer extends CustomSerializer[MemoryLoadFileType]
- class ModuleNameSerializer extends CustomSerializer[ModuleName]
- class ModuleTargetSerializer extends CustomSerializer[ModuleTarget]
- class NamedSerializer extends CustomSerializer[Named]
- class ReferenceTargetSerializer extends CustomSerializer[ReferenceTarget]
- class TargetSerializer extends CustomSerializer[Target]
- class UnrecognizedAnnotationSerializer extends CustomSerializer[JObject]
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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
- def deserializeTry(in: JsonInput, allowUnrecognizedAnnotations: Boolean = false): Try[Seq[Annotation]]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getLogger: Logger
- Definition Classes
- LazyLogging
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def jsonFormat(tags: Seq[Class[_]]): Formats
Construct Json formatter for annotations
- val logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def serialize(annos: Seq[Annotation]): String
Serialize annotations to a String for emission
- 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
- 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
- def serializeTry(annos: Seq[Annotation]): Try[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()