All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.hydrosphere.mist.utils.json.ModelMetadataJsonSerialization_Spark2.scala Maven / Gradle / Ivy

There is a newer version: 0.10.0
Show newest version
package io.hydrosphere.mist.utils.json

import io.hydrosphere.mist.ml.Metadata
import spray.json.RootJsonFormat

private[mist] trait ModelMetadataJsonSerialization extends AnyJsonFormatSupport {

  implicit val stageMetadataSerialization: RootJsonFormat[Metadata] = jsonFormat(Metadata.apply, "class", "timestamp", "sparkVersion", "uid", "paramMap")
  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy