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

toJson

fun toJson(experiment: Experiment): <ERROR CLASS> (source)

Converts the specified experiment to json

Parameters

experiment - experiment to convert

Return json representation of the experiment