json-flatfile-datastore
json-flatfile-datastore copied to clipboard
Simple JSON flat file data store with support for typed and dynamic data.
It looks like the package has no problem creating a new file in a directory on creation of the datastore object. ``` private static DataStore store = new DataStore($"{logLocation}\\{fileName}.json"); ```...
I'm using your library to implement a set of local data stores. I love this library and the implementation. I am seeing a behavior I am trying to resolve as...
Get root
Resolves #19 - Added logic from add-getroot branch with test code and updated IDataStore.
Is there a way to retrieve a whole document, not just some of it's properties or collections? For a json file from a [docs' sample](https://github.com/ttu/json-flatfile-datastore#single-item): ```json { "selected_user": { "id":...
First of all, thanks for this library. Quick question: is there support for async querying?
Add [CancellationToken support](https://docs.microsoft.com/en-us/dotnet/standard/threading/cancellation-in-managed-threads) for async operations.
Option to add last modified timestamp for each object. ```json { "user": [ { "id": 1, "name": "James", "age": 40, "location": "NY", "work": { "name": "ACME", "location": "NY" }, "_last_modified":...
Potential fix for issue #3. I'm taking all id values and then picking the max value from them.
GetNextIdValue checks only the last item from the collection and gives a new id based on that item's id. Method should find the item with the largest id value from...
idProperty.SetValue(item, data) throws an error when data is Guid System.ArgumentException {"Object of type 'System.String' cannot be converted to type 'System.Guid'."} My solution proposal : 