KaveDS 1.1.0

dotnet add package KaveDS --version 1.1.0
                    
NuGet\Install-Package KaveDS -Version 1.1.0
                    
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="KaveDS" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="KaveDS" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="KaveDS" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add KaveDS --version 1.1.0
                    
#r "nuget: KaveDS, 1.1.0"
                    
#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.
#:package KaveDS@1.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=KaveDS&version=1.1.0
                    
Install as a Cake Addin
#tool nuget:?package=KaveDS&version=1.1.0
                    
Install as a Cake Tool

KaveDS stands for Key And Value Element Data Storage and is an alternative to Json. It uses key and value elements (Important: Each element must be on one line, not multiple) It is simpler and doesn't offer as complex storage. It has similar but different syntax. It works like this: In the file you have objects with keys and elements inside. You define objects by typing "object", pressing space and typing the objects name. Then you put {} like in an if statement, see tue Example.kaveds file

Here are explanations of all the class members of KaveDS in the .cs file: Methods (recomended to use): GetValueByKey: Returns the value of a key by using two string parameters, the first one is the object that the key is nestled within's name, the second one is the key's name. GetTextByName: Returns the text of an object by using a string parameter that is the object's name. SetValueByKey: Sets the value of a key with 2 string parameters, the object's name and the key of the value's name, 1 dynamic parameter, the new value and one optional int parameter, if you want a specific element from the value if it is an array you use it's index as the last parameter. If the value is an array and you don't specify what index it will return a dynamic array. Fields (not recommended to use): fileText: The entire file's text fileObjects: A string list with all the objects of the file fileObjectNames: A string list with all the names of the objects of the file fileObjectDict: A string, string dictionary in which the keys are the objects names and the values are the objects text

Constructor: When creating an object of the KaveDS class, you need to enter the directory. It needs to end with .kaveds

Other information: When you make an array in the file you have to make it like this: [1, 2, 3, "hello"] (the values are just examples). When you use an array in SetValueByKey you need to input it as such: new dynamic[] {1, 2, 3} (the values are just examples). You also have to end every element in a .kaveds file with a ;

Oh, and please leave feedback and/or report bugs!

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

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.1.0 115 6/28/2026
1.0.0 108 6/27/2026