dev.hnaderi.k8s.utils.KSON$
See theKSON companion trait
object KSON
Attributes
- Companion:
- trait
- Source:
- KSON.scala
- Graph
- Supertypes
- Self type
- KSON.type
Members list
Concise view
Type members
Classlikes
Attributes
- Source:
- KSON.scala
- Graph
- Supertypes
Attributes
- Source:
- KSON.scala
- Graph
- Supertypes
Attributes
- Source:
- KSON.scala
- Graph
- Supertypes
Attributes
- Source:
- KSON.scala
- Graph
- Supertypes
Attributes
- Source:
- KSON.scala
- Graph
- Supertypes
Attributes
- Source:
- KSON.scala
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait KSONtrait Producttrait Equalstrait Serializableclass Objecttrait Matchableclass Any
- Self type
- KNull.type
Attributes
- Source:
- KSON.scala
- Graph
- Supertypes
Attributes
- Source:
- KSON.scala
- Graph
- Supertypes
Inherited types
The names of the product elements
The name of the type
Implicits
Implicits
Attributes
- Source:
- KSON.scala
Attributes
- Source:
- KSON.scala
implicit val
Right.apply[Nothing,Int](i)
caseKLong(l)iflongWrapper(l).isValidInt=>
Right.apply[Nothing,Int](l.toInt)
caseKDouble(l)ifdoubleWrapper(`l₂`).isValidInt=>
Right.apply[Nothing,Int](`l₂`.toInt)
case_=>
Left.apply[String,Nothing]("Notavalidinteger!")
}
overridedeflong(`t₃`:KSON):Either[String,Long]=`t₃`match{
caseKLong(l)=>
Right.apply[Nothing,Long](`l₃`)
caseKInt(i)=>
Right.apply[Nothing,Long](`i₂`.toLong)
caseKDouble(l)ifdoubleWrapper(`l₄`).isWhole=>
Right.apply[Nothing,Long](`l₄`.toLong)
case_=>
Left.apply[String,Nothing]("Notavalidlong!")
}
overridedefdouble(`t₄`:KSON):Either[String,Double]=`t₄`match{
caseKDouble(l)=>
Right.apply[Nothing,Double](`l₅`)
caseKLong(l)=>
Right.apply[Nothing,Double](`l₆`.toDouble)
caseKInt(i)=>
Right.apply[Nothing,Double](`i₃`.toDouble)
case_=>
Left.apply[String,Nothing]("Notavaliddouble!")
}
overridedefbool(`t₅`:KSON):Either[String,Boolean]=`t₅`match{
caseKBool(b)=>
Right.apply[Nothing,Boolean](b)
case_=>
Left.apply[String,Nothing]("Notabooleanvalue!")
}
overridedefarray(`t₆`:KSON):Either[String,Iterable[KSON]]=`t₆`match{
caseKArr(vs)=>
Right.apply[Nothing,Iterable[KSON]](vs)
case_=>
Left.apply[String,Nothing]("Notanarray!")
}
overridedefobj(`t₇`:KSON):Either[String,Iterable[Tuple2[String,KSON]]]=`t₇`match{
caseKObj(fs)=>
Right.apply[Nothing,Iterable[Tuple2[String,KSON]]](fs)
case_=>
Left.apply[String,Nothing]("Notanobject!")
}
}
(new$anon():Reader[KSON])
}" t="n"class="documentableName ">readerInstance: Reader[KSON]
Attributes
- Source:
- KSON.scala