dmuka3.CS.Simple.JSON 1.0.1

dotnet add package dmuka3.CS.Simple.JSON --version 1.0.1                
NuGet\Install-Package dmuka3.CS.Simple.JSON -Version 1.0.1                
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="dmuka3.CS.Simple.JSON" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add dmuka3.CS.Simple.JSON --version 1.0.1                
#r "nuget: dmuka3.CS.Simple.JSON, 1.0.1"                
#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 dmuka3.CS.Simple.JSON as a Cake Addin
#addin nuget:?package=dmuka3.CS.Simple.JSON&version=1.0.1

// Install dmuka3.CS.Simple.JSON as a Cake Tool
#tool nuget:?package=dmuka3.CS.Simple.JSON&version=1.0.1                

dmuka3.CS.Simple.JSON

This library provides you to use JSON in C# like JavaScript.

Nuget

Link : https://www.nuget.org/packages/dmuka3.CS.Simple.JSON

Install-Package dmuka3.CS.Simple.JSON

Example 1

We will use library with dynamic variables.

var developer = json.parse(@"
	{
		""name"": null,
		""surname"": null,
		""addresses"": []
	}");

/*
	* {
	*   "name": "Muhammet",
	*   "surname": null,
	*   "addresses": []
	* }
	*/
developer.name = "Muhammet";
/*
	* {
	*   "name": "Muhammet",
	*   "surname": "Kandemir",
	*   "addresses": []
	* }
	*/
developer.surname = "Kandemir";
/*
	* {
	*   "name": "Muhammet",
	*   "surname": "Kandemir",
	*   "className": "C1",
	*   "addresses": []
	* }
	*/
developer.className = "C1";
/*
	* {
	*   "name": "Muhammet",
	*   "surname": "Kandemir",
	*   "className": "C1",
	*   "addresses": [
	*      "Address 1",
	*      "Address 2"
	*   ]
	* }
	*/
developer.addresses = new object[]
	{
		"Address 1",
		"Address 2"
	};
/*
	* {
	*   "name": "Muhammet",
	*   "surname": "Kandemir",
	*   "className": "Kandemir",
	*   "addresses": [
	*      "Address 1",
	*      "Address 2",
	*      "Address 3"
	*   ]
	* }
	*/
developer.addresses.push("Address 3");

Example 2

We can also use download.

/*
	* https://muhammet-kandemir-95.github.io/dmuka3.JS.Simple.OCD/examples/example-data.json
	* {
	*   "name": "Muhammet",
	*   "surname": "Kandemir"
	* }
	*/
var developer = json.download("https://muhammet-kandemir-95.github.io/dmuka3.JS.Simple.OCD/examples/example-data.json").data;

/*
	* {
	*   "name": "Muhammet",
	*   "surname": "Kandemir",
	*   "className": "Kandemir"
	* }
	*/
developer.className = "C1";

/*
	* {
	*   "name": "Muhammet",
	*   "surname": "Kandemir",
	*   "className": "C1",
	*   "addresses": [
	*      "Address 1",
	*      "Address 2"
	*   ]
	* }
	*/
developer.addresses = new object[]
{
	"Address 1",
	"Address 2"
};

/*
	* {
	*   "name": "Muhammet",
	*   "surname": "Kandemir",
	*   "className": "C1",
	*   "addresses": [
	*      "Address 1",
	*      "Address 2",
	*      "Address 3"
	*   ]
	* }
	*/
developer.addresses.push("Address 3");
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 is compatible.  netcoreapp3.1 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.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.0.1 642 12/15/2019
1.0.0 513 12/7/2019