ObjectNotation.JSONCollections 0.0.9

There is a newer version of this package available.
See the version list below for details.
dotnet add package ObjectNotation.JSONCollections --version 0.0.9
                    
NuGet\Install-Package ObjectNotation.JSONCollections -Version 0.0.9
                    
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="ObjectNotation.JSONCollections" Version="0.0.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ObjectNotation.JSONCollections" Version="0.0.9" />
                    
Directory.Packages.props
<PackageReference Include="ObjectNotation.JSONCollections" />
                    
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 ObjectNotation.JSONCollections --version 0.0.9
                    
#r "nuget: ObjectNotation.JSONCollections, 0.0.9"
                    
#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 ObjectNotation.JSONCollections@0.0.9
                    
#: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=ObjectNotation.JSONCollections&version=0.0.9
                    
Install as a Cake Addin
#tool nuget:?package=ObjectNotation.JSONCollections&version=0.0.9
                    
Install as a Cake Tool

Object Notation package

The Object Notation package is an implementation of C# as a JSON notation utility from within a Visual Studio environment.

Gratitude

I appreciate the contributions made to this package. If you want to contribute, you can do so at this address: https://donorbox.org/embed/wasb

Code Sample

//######################## string jsonString = JSONCollections.ConvertHTTPQueryStringToJSONString("array[ngc]=748161992&array[ud]=ALCELA&array[f]=30/05/2023 16:21&array[uni][1_IF][0][u]=PAREDOR&array[uni][1_IF][0][n]=15&array[uni][1_IF][1][u]=YAMARAL&array[uni][1_IF][1][n]=16.5"); //########################

//####################### string jsonString = "{\"ngc\":\"748426658\",\"ud\":\"jtorres17\",\"f\":\"31/07/2023 18:17\",\"uni\":{\"1_CL\":{\"1\":{\"u\":\"aaguirre8\",\"n\":\"18\"},\"2\":{\"u\":\"jayala7\",\"n\":\"19\"}}}}"; Dictionary<string, Object> dctParam = null; dctParam = (Dictionary<string, Object>)JSONCollections.ConvertJSONStringToCollection(jsonString); //#######################

//####################### public IEnumerable<Dictionary<string, string>> GetResult(long id) { var query = ""; query = "sp_ResultadoRegistro"; var param = new DynamicParameters(); param.Add("@id", id, DbType.Int32); var data = SqlMapper.Query(this._connectionFactory.GetConnection, query, param, commandType: CommandType.StoredProcedure); return JSONCollections.ConvertEnumerableToListOfDictionary(data);
} //#######################

//####################### [HttpPost("RegistrarCalificacion")] [ProducesResponseType(200)] [ProducesResponseType(400)] public IActionResult RegistrarCalificacion([FromBody] Dictionary<string, object> json) { string jsonString = JSONCollections.ConvertHttpDictionaryToJSONString(json);

...

} //#######################

Bug report

If you want to send a comment or report a problem, you can do it directly to my email wasbtjsm@gmail.com

Thank you for the trust given!

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.  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. 
.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.
  • .NETStandard 2.1

    • 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
2.0.0 242 3/12/2025
1.0.0 247 8/15/2023
0.0.9 228 8/15/2023