Isaac.FileStorage 0.2.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package Isaac.FileStorage --version 0.2.4
NuGet\Install-Package Isaac.FileStorage -Version 0.2.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Isaac.FileStorage" Version="0.2.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Isaac.FileStorage --version 0.2.4
#r "nuget: Isaac.FileStorage, 0.2.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Isaac.FileStorage as a Cake Addin
#addin nuget:?package=Isaac.FileStorage&version=0.2.4

// Install Isaac.FileStorage as a Cake Tool
#tool nuget:?package=Isaac.FileStorage&version=0.2.4

Simple file storage solution

This package allows for data storage using serialization. It utilises a JSON-based serialisation to record data in .jk files (it's a json and it has a key, .jk is not a joke).

It is a generics-based solution that receives a key that will be used as file name and an <T> object. It utilises the input class structure, so no manual intervention is needed - it'll work with any given object.

Functionalities:

  1. void Insert(string key, T obj): Allows insertion of a new record. The 'string key' parameter will be used as file name and T object is the data class.
  2. T Get<T>(string key): Searches a file by name and, if possible, will deserialise to a given T object.
  3. IEnumerable<string> GetAllKeys(): This method searches for all .jk files and returns all entries.
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.6.0 452 3/8/2022
1.5.0 383 3/8/2022
1.3.0 326 2/16/2021
1.1.0 388 3/8/2022
1.0.0 338 1/24/2021
0.3.4 348 1/15/2021
0.3.3 329 1/15/2021
0.3.2 424 1/10/2021
0.3.1 489 1/9/2021
0.2.5 595 1/6/2021
0.2.4 572 1/6/2021
0.2.3 369 1/6/2021
0.2.2 388 1/6/2021
0.2.1 491 1/6/2021
0.2.0 612 1/5/2021

Fixed error when key has .jk in name (like "test.jk.file001,jk"); original code used to replace .jk into nothing (in our example, "test.jk.file001.jk" would become "test.file001") because replacing .jk string would replace all occurrences within the name string.