|
29bb602eb1
|
Export all write* functions as JSONWrite*
|
2022-08-20 21:27:03 -05:00 |
|
Marius Orcsik
|
897ab70990
|
Don't try to output anything if item collection is empty
|
2022-05-29 15:19:53 +02:00 |
|
mariusor
|
7414b7fad2
|
Unified some more the error for invalid types
|
2022-05-25 13:55:18 +02:00 |
|
Marius Orcsik
|
109a45e9a0
|
Added a ItemCollection.Normalize method
It allows us to return an the first element in a collection if there is just one
|
2022-03-20 15:15:07 +01:00 |
|
Marius Orcsik
|
c1e48c1eef
|
More lint errors fixed
|
2021-11-12 20:05:08 +01:00 |
|
Marius Orcsik
|
71f08af09f
|
*Better* ItemCollection.Append
|
2021-08-22 18:59:57 +02:00 |
|
Marius Orcsik
|
b8343fd3a3
|
Don't crash if collections are nil when invoking Count()
|
2021-06-06 14:34:07 +02:00 |
|
Marius Orcsik
|
558da36360
|
Moved the flatten functionality to this package
|
2021-04-03 13:43:33 +02:00 |
|
Marius Orcsik
|
95774ab532
|
Fix Remove method doc comment
|
2021-03-27 14:02:30 +01:00 |
|
Marius Orcsik
|
a65a3e9048
|
Renamed internal functions used for JSON buffer write
This is done to ensure we're not overlapping with the future gob functionality
|
2021-03-14 18:31:13 +01:00 |
|
mariusor
|
0c3f57f637
|
Added IsNil function to assert to Object or ItemCollection before checking for nil values in Item interface
|
2021-02-02 14:18:16 +01:00 |
|
Marius Orcsik
|
b1c270db53
|
Modified ItemMatches method fo match changed ItemMatcher interface
|
2020-12-28 17:53:47 +01:00 |
|
Marius Orcsik
|
656c40c1a7
|
Adding a default case for type conversion using the reflect package
|
2020-07-16 21:54:46 +02:00 |
|
Marius Orcsik
|
6b4974048c
|
Fix ItemCollection.Remove
|
2020-06-24 13:48:20 +02:00 |
|
Marius Orcsik
|
b6c780ed52
|
Added Remove method on item collections
|
2020-06-10 21:36:56 +02:00 |
|
Marius Orcsik
|
342a261a17
|
Improved ItemCollectionDeduplication
More tests for object equality method
|
2020-05-15 15:18:20 +02:00 |
|
Marius Orcsik
|
fac868b7c2
|
Added functionality for checking if objects are equal
|
2020-05-07 16:49:43 +02:00 |
|
Marius Orcsik
|
4d5fd9ff2d
|
Making Collection,OrderedCollectin and Item array implement the ItemMatcher interface
|
2020-03-29 18:26:30 +02:00 |
|
Marius Orcsik
|
6fe2b97669
|
Refactored a couple of the writeX encoding functions
|
2019-12-21 10:44:32 +01:00 |
|
Marius Orcsik
|
6bb34603e9
|
Refactored marshaling and removing bytes.Buffer in favor of a simple byte slice
|
2019-12-19 17:05:12 +01:00 |
|
Marius Orcsik
|
67aa065f9f
|
Some other places where we removed Object from names of things
|
2019-12-05 19:16:48 +01:00 |
|
Marius Orcsik
|
b89c9ee68c
|
Renamed ObjectID to ID
|
2019-12-05 19:02:15 +01:00 |
|
Marius Orcsik
|
bd2b51124f
|
Some improvements to copying collection information
|
2019-12-05 16:41:53 +01:00 |
|