frends-community - Frends.Community.ConvertToDynamic 1.2.0

Task for for converting data to dynamic datatype that can be accessed with dot notation.

PM> Install-Package Frends.Community.ConvertToDynamic -Version 1.2.0 -Source https://www.myget.org/F/frends-community/api/v3/index.json

Copy to clipboard

> nuget.exe install Frends.Community.ConvertToDynamic -Version 1.2.0 -Source https://www.myget.org/F/frends-community/api/v3/index.json

Copy to clipboard

> dotnet add package Frends.Community.ConvertToDynamic --version 1.2.0 --source https://www.myget.org/F/frends-community/api/v3/index.json

Copy to clipboard
<PackageReference Include="Frends.Community.ConvertToDynamic" Version="1.2.0" />
Copy to clipboard
source https://www.myget.org/F/frends-community/api/v3/index.json

nuget Frends.Community.ConvertToDynamic  ~> 1.2.0
Copy to clipboard

> choco install Frends.Community.ConvertToDynamic --version 1.2.0 --source https://www.myget.org/F/frends-community/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "frends-community" -SourceLocation "https://www.myget.org/F/frends-community/api/v2"
Install-Module -Name "Frends.Community.ConvertToDynamic" -RequiredVersion "1.2.0" -Repository "frends-community" 
Copy to clipboard

Browse the sources in this package using Visual Studio or WinDbg by configuring the following legacy symbol server URL: https://www.myget.org/F/frends-community/symbols/


Frends.Community.ConvertToDynamic

Actions Status MyGet License: MIT

Installing

You can install the Task via frends UI Task View or you can find the NuGet package from the following NuGet feed https://www.myget.org/F/frends-community/api/v3/index.json and in Gallery view in MyGet https://www.myget.org/feed/frends-community/package/nuget/Frends.Community.ConvertToDynamic

Tasks

ConvertToDynamic

FRENDS Task to convert XmlString, XmlDocument, XDocument or JsonString to Dynamic. Converting data to dynamic enables dot notation in Frends. For example, after this tas it is possible to acces value associated with name 'Addres' using syntax: #resultConvertToDynamic.Address. Usually Frends task have ability to convert their result to JToken that also enables the dot notation, if they do it is advisable to use JToken not this task.

Params

Property Type Description Example
InputData string Supported formats JSON and XML <root><field>1</field></root>
InputType XmlString, XmlDocument, XDocument, JsonString Input data type XmlString
OptionalRootNameWhenConvertingFromJSON string Give root name for created object root

Returns

Property Type Description
Result Dynamic Result as dynamic

Building

Clone a copy of the repository

git clone https://github.com/CommunityHiQ/Frends.Community.ConvertToDynamic.git

Rebuild the project

dotnet build

Run tests

dotnet test

Create a NuGet package

dotnet pack --configuration Release

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

  1. Fork the repository on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work back up to your fork
  5. Submit a Pull request so that we can review your changes

NOTE: Be sure to merge the latest from "upstream" before making a pull request!

Change Log

Version Changes
1.2.0 Converted to support .Net Standard 2.0 and .Net Framework 4.7.1
1.3.0 Added target frameworks net6 & net8. Newtonsoft.Json downgraded to 12.0.1. Updated other dependencies to latest.
  • .NETFramework 4.7.1
    • Microsoft.CSharp (>= 4.7.0)
    • Newtonsoft.Json (>= 12.0.3)
    • System.ComponentModel.Annotations (>= 4.7.0)
  • .NETStandard 2.0
    • Microsoft.CSharp (>= 4.7.0)
    • Newtonsoft.Json (>= 12.0.3)
    • System.ComponentModel.Annotations (>= 4.7.0)
  • .NETFramework 4.7.1: 4.7.1.0
  • .NETStandard 2.0: 2.0.0.0

                        
Assembly Assembly hash Match
/lib/netstandard2.0/frends.community.converttodynamic.dll 87dde509e6fc4f17830e7b2b2c3dd085FFFFFFFF
/lib/net471/frends.community.converttodynamic.dll dc525be7dfc949fa9a1ad9de6d301a65FFFFFFFF

Owners

FRENDS Community Feed User

Authors

HiQ Finland

Project URL

https://github.com/CommunityHiQ/Frends.Community.ConvertToDynamic

License

Unknown

Tags

Frends

Info

75 total downloads
42 downloads for version 1.2.0
Download (13.23 KB)
Download legacy symbols (22.6 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
1.3.0 24.79 KB Mon, 24 Feb 2025 08:23:18 GMT 9
1.2.0 13.23 KB Mon, 25 Jan 2021 11:09:28 GMT 42
1.1.0 7.15 KB Mon, 17 Sep 2018 12:11:47 GMT 24