android-components / mozilla.components.service.fretboard / JSONExperimentParser

JSONExperimentParser

class JSONExperimentParser (source)

Default JSON parsing implementation

Constructors

Name Summary
<init> JSONExperimentParser()
Default JSON parsing implementation

Functions

Name Summary
fromJson fun fromJson(jsonObject: <ERROR CLASS>): Experiment
Creates an experiment from its json representation
toJson fun toJson(experiment: Experiment): <ERROR CLASS>
Converts the specified experiment to json