diff --git a/asvocab_base_types.go b/asvocab_base_types.go index 61bc971..c704bd3 100644 --- a/asvocab_base_types.go +++ b/asvocab_base_types.go @@ -1,6 +1,7 @@ package astreams import ( + "encoding/json" "sort" "time" ) @@ -55,7 +56,7 @@ type EndpointsOrString struct { // Object represents the base ActivityStreams Object and all of its properties // Most of the other types extend Object type Object struct { - ASContext *ObjectOrLinkOrString `json:"@context,omitempty"` + ASContext json.RawMessage `json:"@context,omitempty"` ASLanguage string `json:"@language,omitempty"` Schema string `json:"schema,omitempty"` ID string `json:"id,omitempty"`