com.snowplowanalytics.snowplow.analytics.scalasdk
Returns the event as a map of keys to Circe JSON values, while dropping inventory fields
Returns a compound JSON field containing information about an event's latitude and longitude, or None if one of these fields doesn't exist
Extracts metadata from the event containing information about the types and Iglu URIs of its shred properties
Returns the event as a list of key/Circe JSON value pairs.
Returns the event as a list of key/Circe JSON value pairs.
Unlike toJsonMap
and atomic
, these keys use the ordering of the canonical event model
Transforms the event to a validated JSON whose keys are the field names corresponding to the EnrichedEvent POJO of the Scala Common Enrich project.
Transforms the event to a validated JSON whose keys are the field names corresponding to the EnrichedEvent POJO of the Scala Common Enrich project. If the lossy argument is true, any self-describing events in the fields (unstruct_event, contexts and derived_contexts) are returned in a "shredded" format (e.g. "unstruct_event_com_acme_1_myField": "value"), otherwise a standard self-describing format is used.
Whether unstruct_event, contexts and derived_contexts should be flattened
Case class representing a canonical Snowplow event.
https://github.com/snowplow/snowplow/wiki/canonical-event-model