We were skipping context unmarshalling
This commit is contained in:
parent
d507b72a7a
commit
bb530d67be
1 changed files with 1 additions and 0 deletions
|
@ -461,6 +461,7 @@ func (o *Object) UnmarshalJSON(data []byte) error {
|
|||
o.Type = getAPType(data)
|
||||
o.Name = getAPNaturalLanguageField(data, "name")
|
||||
o.Content = getAPNaturalLanguageField(data, "content")
|
||||
o.Context = getAPItem(data, "context")
|
||||
u := getURIField(data, "url")
|
||||
if len(u) > 0 {
|
||||
o.URL = u
|
||||
|
|
Reference in a new issue