Value members
Concrete methods
Convenience functionality for working with enumerations
Convenience functionality for working with enumerations
- Value parameters:
- fieldName
the field name to refer to in the Json
- mapping
a mapping of key/value pairs representing the String in fieldName to the representative value
- Source:
- RW.scala
Convenience functionality for working with polymorphic types
Convenience functionality for working with polymorphic types
- Value parameters:
- fieldName
the field name stored in the value (defaults to "type")
- getType
a function to determine the field value from an instance (defaults to the class name with the first character lowercase - defaultGetType)
- matcher
a matcher for field values to get the representative RW for that type
- Source:
- RW.scala
Convenience functionality to provide a static / singleton value that represents that type
Convenience functionality to provide a static / singleton value that represents that type
- Value parameters:
- value
the singleton value to use
- Source:
- RW.scala