aboutsummaryrefslogtreecommitdiff
path: root/object.go
AgeCommit message (Expand)Author
2022-08-20Export all write* functions as JSONWrite*Anthony Wang
2022-08-20Export everything in decoding_jsonMarius Orcsik
2022-06-04Added benchmarks for 'ToXX' vs 'To[T type]'•••They show some weird numbers considering the 'On' benchmarks Marius Orcsik
2022-05-25Unified some more the error for invalid typesmariusor
2022-05-25Adding some Format methods for custom printing of objectsmariusor
2022-05-25Unified error messages when being unable to convert to specific types using O...mariusor
2022-05-24Improvements to Equals methods for actor and activitymariusor
2022-04-20Converted the URL property to support an array of links as a valuemariusor
2022-03-19Fix gob encoding the URLMarius Orcsik
2022-03-19Using go1.18 and adding some interface types that can be used for genericsMarius Orcsik
2022-01-13Simplify the Type gob encode/decodemariusor
2022-01-12Adding more gob encoding/decoding for specific object typesmariusor
2022-01-12Move gob encode/decode to their respective separate filesmariusor
2022-01-12Adding some trial and error over recognized types for gob decoding an item's ...mariusor
2022-01-12Use a specific type for IRI.GetTypemariusor
2022-01-02Adding gob encoding for an objectMarius Orcsik
2022-01-02Added source gob marshal/unmarshalMarius Orcsik
2022-01-02Changed Object.URL property to be an Item not just a link or iriMarius Orcsik
2022-01-02Renamed gobEncode string like functionMarius Orcsik
2021-12-30Be consistent in how we encode stringy types•••Namely as []byte slices mariusor
2021-12-30Added gob Marshal/Unmarshal for ActivityVocabularyType typemariusor
2021-12-30Added gob Marshal/Unmarshal for MimeType typemariusor
2021-11-14Aligned types in the Objects interfaceMarius Orcsik
2021-11-12Fix union typesmariusor
2021-11-12Added generics compatible interface type constraints for Objects, Collections...Marius Orcsik
2021-11-12Fix some linting warningsmariusor
2021-11-07Updated comment for the Relationship objectMarius Orcsik
2021-08-15Use fastjson properlyMarius Orcsik
2021-08-14Replace jsonparser to fastjson for parsing jsonMarius Orcsik
2021-04-02Disabled all GobEncoding/Decoding and BinaryMarshal/Unmarshal functionalityMarius Orcsik
2021-03-14Adding placeholder Marshal/UnmarshalBinary and GobEncode/DecodeMarius Orcsik
2021-03-14Renamed internal functions used for JSON buffer write•••This is done to ensure we're not overlapping with the future gob functionality Marius Orcsik
2021-01-13Removed flatten functionality from heremariusor
2020-12-28Added ToLink and OnLink functionsMarius Orcsik
2020-12-28Uniform receiver names for MimeType methodsMarius Orcsik
2020-07-16Adding a default case for type conversion using the reflect packageMarius Orcsik
2020-06-30Refactored types a bitMarius Orcsik
2020-05-15Improved ItemCollectionDeduplication•••More tests for object equality method Marius Orcsik
2020-05-07Added functionality for checking if objects are equalMarius Orcsik
2020-03-23Having all activitypub vocabulary types available in a sliceMarius Orcsik
2019-12-22Added proper Link Json marshaling•••Fix some corner cases for Link unmarshaling Small cleanups Marius Orcsik
2019-12-21Refactoring loading of object/intransitive activity/activity types from json ...Marius Orcsik
2019-12-21Refactored a couple of the writeX encoding functionsMarius Orcsik
2019-12-19Refactored marshaling and removing bytes.Buffer in favor of a simple byte sliceMarius Orcsik
2019-12-19Added actor Json marshalMarius Orcsik
2019-12-19Added Activity/IntransitiveActivity/Question Json marshaling and testsMarius Orcsik
2019-12-19Completed functionality of Object.MarshalJSON•••Added a couple more tests Added proper time.Duration to xsd:duration encoding Marius Orcsik
2019-12-19Improvements to Object, NaturalLanguage and Source Json marshaling•••Improvements to tests Marius Orcsik
2019-12-19Adding some marshaler functions for Object related typesMarius Orcsik
2019-12-05Some other places where we removed Object from names of thingsMarius Orcsik