json-flatfile-datastore icon indicating copy to clipboard operation
json-flatfile-datastore copied to clipboard

Simple JSON flat file data store with support for typed and dynamic data.

Results 16 json-flatfile-datastore issues
Sort by recently updated
recently updated
newest added

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"); ```...

bug

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...

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":...

help wanted

First of all, thanks for this library. Quick question: is there support for async querying?

enhancement

Add [CancellationToken support](https://docs.microsoft.com/en-us/dotnet/standard/threading/cancellation-in-managed-threads) for async operations.

enhancement

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":...

feature
on hold

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...

enhancement
in progress
on hold

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 : ![image](https://github.com/ttu/json-flatfile-datastore/assets/5719752/cae9c75c-7ec4-4343-bd49-9b9f27cc68d4)

enhancement