implicit final class JsonObjectBuilderType extends AnyVal
Provides extension methods to javax.json.JsonObjectBuilder
.
- See also
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- JsonObjectBuilderType
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new JsonObjectBuilderType(builder: JsonObjectBuilder)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
def
add[T](name: String, value: T)(implicit companion: ObjectBuilderCompanion[T]): JsonObjectBuilder
Adds value to object builder.
-
def
add(name: String, value: Try[JsonValue]): JsonObjectBuilder
Adds value to object builder if
Success
; otherwise, adds null ifFailure
. -
def
add(name: String, value: Option[JsonValue]): JsonObjectBuilder
Adds value to object builder if
Some
; otherwise, adds null ifNone
. -
def
addNullable[T](name: String, value: T)(implicit companion: ObjectBuilderCompanion[T]): JsonObjectBuilder
Adds value to object builder or adds null if value is null.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
toString(): String
- Definition Classes
- Any