Commit graph

12 commits

Author SHA1 Message Date
Marius Orcsik
52e8c9c266
Restructured the Tombstone object to be stand-alone
Moved functionality to its own file
2019-12-03 15:07:00 +01:00
Marius Orcsik
921185b572
Restructured the Relationship object to be stand-alone
Moved functionality to its own file
2019-12-03 13:45:06 +01:00
Marius Orcsik
fa60a7c223
Restructured the Profile object to be stand-alone
Moved functionality to its own file
2019-12-03 13:36:05 +01:00
Marius Orcsik
fd4fc76679
Added UnmarshalJSON for Place
Changed some properties to float64 and int64 types
2019-12-03 13:23:44 +01:00
Marius Orcsik
1e4cc7c841
Restructured the Place type to be independent
Moved functionality related to it to separate file
2019-12-03 13:05:11 +01:00
Marius Orcsik
c4bfc38e75 Fixing unmarshaling an Item type property to an ItemCollection if it holds an array
Adding some tests for it
2019-11-30 10:06:39 +01:00
Marius Orcsik
f333dd1786
Allow unmarshaling of properties of Item type from json arrays 2019-11-29 19:39:38 +01:00
Marius Orcsik
921736699c
Return nil in the case of missing activitypub Type property from the json payload 2019-10-11 13:19:26 +02:00
Marius Orcsik
6e2d1b5aaf
Fixed loading NaturalLanguageValues from a json encoded byte array 2019-10-07 13:11:06 +02:00
Marius Orcsik
aa26e536d9
Small improvements to how we extract NaturalLanguageField from JSON 2019-10-04 17:27:22 +03:00
Marius Orcsik
650ef7b49b
Making the InReplyTo be an explicit item collection
Use jsonld.Marshal for encoding natural language values
2019-09-20 15:14:21 +02:00
Marius Orcsik
da75235f0f
Simplified GetItemByType function 2019-09-09 20:49:19 +02:00
Renamed from unmarshalling.go (Browse further)