Commit graph

9 commits

Author SHA1 Message Date
Marius Orcsik
385e1cd273
Set the ItemTyperFunc when doing UnmarshalJSON 2019-05-18 22:45:54 +02:00
Marius Orcsik
d8332178b9
We need to return pointers from the typer function 2019-05-12 20:03:10 +02:00
Marius Orcsik
b2c3040f04
Returning the correct types for objects with additional properties
These objects are: place, profile, relationship and tombstone
2019-05-12 19:33:58 +02:00
Marius Orcsik
302a70f172
Adding some more properties to unmarshalling 2019-05-05 00:15:35 +02:00
Marius Orcsik
0b102fbb67
Added Mapper interface
Pluralized NaturalLanguageValue(s) array type

Improved comments on exported types and functions
2019-02-21 17:57:12 +01:00
Marius Orcsik
ddf7c77e1c
Added test for JSONGetItemByType 2019-02-19 11:22:10 +01:00
Marius Orcsik
6315ea0428
Added a more generic way of using custom activotystreams.Item compatible structs when unmarshalling from other packages 2019-01-30 17:39:26 +01:00
Marius Orcsik
ce595fadf3
Exposing the JSONGet* functions for activitystreams objects 2019-01-30 16:19:29 +01:00
Marius Orcsik
54f56b33e9
Moved everything related to activitystreams vocabulary to its own project 2019-01-22 16:44:27 +01:00
Renamed from activitystreams/unmarshalling.go (Browse further)