Commit graph

17 commits

Author SHA1 Message Date
mariusor
a0add4eee6
Exit early if stringy values have 0 length when doing gob encoding 2021-12-30 15:53:51 +01:00
mariusor
3fe3ad49be
Implement an ugly hack for gob Marshal/Unmarshal the LangRefValue type 2021-12-30 15:29:41 +01:00
mariusor
365484306b
Added gob Marshal/Unmarshal for LangRef type 2021-12-30 14:58:51 +01:00
mariusor
07b28f09ae
Added gob Marshal/Unmarshal for Content type 2021-12-30 14:40:07 +01:00
Marius Orcsik
c1e48c1eef
More lint errors fixed 2021-11-12 20:05:08 +01:00
mariusor
a8126635d3 Fix some linting warnings 2021-11-12 19:10:31 +01:00
Marius Orcsik
73041d04eb
Replace jsonparser to fastjson for parsing json 2021-08-14 18:34:02 +02:00
Marius Orcsik
b8343fd3a3
Don't crash if collections are nil when invoking Count() 2021-06-06 14:34:07 +02:00
mariusor
e34990d729 Making the Content type be an alias for []byte 2020-08-27 16:59:27 +02:00
MariusOr
e3dc8e04fb Modified the NaturalLanguage related types 2020-08-26 18:50:27 +02:00
MariusOr
02bc61cc17 Updating to a LangVal specific type for LangRefValues
This allows us to switch from storing strings to plain byte slices
2020-08-25 13:45:52 +02:00
Marius Orcsik
fac868b7c2
Added functionality for checking if objects are equal 2020-05-07 16:49:43 +02:00
Marius Orcsik
6e7676346e
Constants for nil IRI and ID 2020-03-31 13:45:24 +02:00
Marius Orcsik
8af476849f
Completed functionality of Object.MarshalJSON
Added a couple more tests

Added proper time.Duration to xsd:duration encoding
2019-12-19 14:44:48 +01:00
Marius Orcsik
8420879a85
Improvements to Object, NaturalLanguage and Source Json marshaling
Improvements to tests
2019-12-19 14:44:48 +01:00
Marius Orcsik
57ad0db747
Moved nil LanguageRef constant to natural language file 2019-12-05 16:43:04 +01:00
Marius Orcsik
f05a08688f
Moved natural language values to their own file 2019-12-04 16:28:45 +01:00