scalapb_json

package scalapb_json

Type members

Classlikes

object Durations
case class JsonFormatException(msg: String, cause: Exception) extends Exception
final class MemorizedFieldNameMap(val fieldNameMap: ConcurrentHashMap[Descriptor, Map[String, FieldDescriptor]])

Given a message descriptor, provides a map from field names to field descriptors.

Given a message descriptor, provides a map from field names to field descriptors.

Note

use java ConcurrentHashMap because TrieMap is not available on scala-js

object NameUtils

This object was generated by sbt-buildinfo.

This object was generated by sbt-buildinfo.

object Timestamps
case class TypeRegistry(companions: Map[String, GenericCompanion], filesSeen: Set[String])

TypeRegistry is used to map the @type field in Any messages to a ScalaPB generated message.

TypeRegistry is used to map the @type field in Any messages to a ScalaPB generated message.

You need to

Companion
object
object TypeRegistry
Companion
class