StatsJsonParser

Trait for the StatsJsonParser parser

Companion:
object
class Object
trait Matchable
class Any

Value members

Inherited methods

def deserialize(string: String): Try[A]

Deserialize the JSON string in a Try generic type

Deserialize the JSON string in a Try generic type

Value parameters:
string

JSON string

Returns:

a Try with the object deserialized

Inherited from:
JsonParser

Course identifier deserializer

Course identifier deserializer

Value parameters:
jsonObject

course identifier as JsOgject

Returns:

a course identifier

Inherited from:
JsonParser
def serialize(element: PlayerStats): JsObject

Serialize a generic type in a JSON Object

Serialize a generic type in a JSON Object

Value parameters:
element

generic element to serialize

Returns:

JSON Object

Inherited from:
JsonParser
def serializeCourseIdentifier(courseIdentifier: CourseIdentifier): JsObject

Course identifier serializer

Course identifier serializer

Value parameters:
courseIdentifier

course identifier

Returns:

a JsObject

Inherited from:
JsonParser