case class MetaJson(sourceJson: JsonObject, metaVariables: List[MetaVariable], missingMetaVariables: Boolean = false) extends Product with Serializable
Meta JSON combines a JSON object with a list of meta variables.
- sourceJson
source (except metaVariables block)
- metaVariables
embedded meta variables
- missingMetaVariables
if true, meta variables was never in JSON and can be omitted during serialisation.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MetaJson
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new MetaJson(sourceJson: JsonObject, metaVariables: List[MetaVariable], missingMetaVariables: Boolean = false)
- sourceJson
source (except metaVariables block)
- metaVariables
embedded meta variables
- missingMetaVariables
if true, meta variables was never in JSON and can be omitted during serialisation.
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
- def applied: Either[String, JsonObject]
Applies meta variables to inner json.
- def appliedJson: Either[String, Json]
Returns the applied code as circe json.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def metaVariable(name: String): Option[MetaVariable]
Returns the value of a meta variable, if found.
- val metaVariables: List[MetaVariable]
- val missingMetaVariables: Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val sourceJson: JsonObject
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withFixedVariables: MetaJson
Returns a copy where all variables are fixed.
- def withMetaValues(values: (String, SingleElementBundle)*): MetaJson
Override meta variables.
Override meta variables.
- Exceptions thrown
MetaVariableExceptionif a value is missing or of wrong type or not changeable.