object Json extends Serializable
- Alphabetic
- By Inheritance
- Json
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
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 val False: Json
- final val Null: Json
- final val True: Json
-
final
def
arr(values: Json*): Json
Create a
Json
value representing a JSON array from values. -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- implicit final val eqJson: Eq[Json]
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
fromBigDecimal(value: BigDecimal): Json
Create a
Json
value representing a JSON number from aBigDecimal
. -
final
def
fromBigInt(value: BigInt): Json
Create a
Json
value representing a JSON number from aBigInt
. -
final
def
fromBoolean(value: Boolean): Json
Create a
Json
value representing a JSON boolean. -
final
def
fromDouble(value: Double): Option[Json]
Try to create a
Json
value representing a JSON number from aDouble
.Try to create a
Json
value representing a JSON number from aDouble
.The result is empty if the argument cannot be represented as a JSON number.
-
final
def
fromDoubleOrNull(value: Double): Json
Create a
Json
value representing a JSON number or null from aDouble
.Create a
Json
value representing a JSON number or null from aDouble
.The result is a JSON null if the argument cannot be represented as a JSON number.
-
final
def
fromDoubleOrString(value: Double): Json
Create a
Json
value representing a JSON number or string from aDouble
.Create a
Json
value representing a JSON number or string from aDouble
.The result is a JSON string if the argument cannot be represented as a JSON number.
-
final
def
fromFields(fields: Iterable[(String, Json)]): Json
Create a
Json
value representing a JSON object from a collection of key-value pairs. -
final
def
fromFloat(value: Float): Option[Json]
Try to create a
Json
value representing a JSON number from aFloat
.Try to create a
Json
value representing a JSON number from aFloat
.The result is empty if the argument cannot be represented as a JSON number.
-
final
def
fromFloatOrNull(value: Float): Json
Create a
Json
value representing a JSON number or null from aFloat
.Create a
Json
value representing a JSON number or null from aFloat
.The result is a JSON null if the argument cannot be represented as a JSON number.
-
final
def
fromFloatOrString(value: Float): Json
Create a
Json
value representing a JSON number or string from aFloat
.Create a
Json
value representing a JSON number or string from aFloat
.The result is a JSON string if the argument cannot be represented as a JSON number.
-
final
def
fromInt(value: Int): Json
Create a
Json
value representing a JSON number from anInt
. -
final
def
fromJsonNumber(value: JsonNumber): Json
Create a
Json
value representing a JSON number from a JsonNumber. -
final
def
fromJsonObject(value: JsonObject): Json
Create a
Json
value representing a JSON object from a JsonObject. -
final
def
fromLong(value: Long): Json
Create a
Json
value representing a JSON number from aLong
. -
final
def
fromString(value: String): Json
Create a
Json
value representing a JSON string.Create a
Json
value representing a JSON string.Note that this does not parse the argument.
-
final
def
fromValues(values: Iterable[Json]): Json
Create a
Json
value representing a JSON array from a collection of values. -
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
final
def
obj(fields: (String, Json)*): Json
Create a
Json
value representing a JSON object from key-value pairs. - implicit final val showJson: Show[Json]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )