implicit final class ApsoJsonJsObject extends AnyVal
Implicit class that provides new methods for JsObjects.
- Alphabetic
- By Inheritance
- ApsoJsonJsObject
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ApsoJsonJsObject(json: JsObject)
- json
the
JsObjectsto which the new methods are provided.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
flattenedKeySet(separator: String = ".", ignoreNull: Boolean = true): Set[String]
Returns a set of keys of this object where nested keys are separated by a separator character.
Returns a set of keys of this object where nested keys are separated by a separator character.
Eg. {"a":1,"b":{"c":2},"d":null}.flattenedKeySet(".", ignoreNull = true) = Set("a","b.c")
- separator
character separator to use
- ignoreNull
if set, fields with a null value are ignored
- returns
flattened key set
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val json: JsObject
-
def
toString(): String
- Definition Classes
- Any