frends-community - Frends.Community.ConvertToDynamic 1.3.0

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

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

Copy to clipboard

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

Copy to clipboard

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

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

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

> choco install Frends.Community.ConvertToDynamic --version 1.3.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.3.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.1)
    • System.ComponentModel.Annotations (>= 5.0.0)
  • .NETFramework 6.0
    • Microsoft.CSharp (>= 4.7.0)
    • Newtonsoft.Json (>= 12.0.1)
    • System.ComponentModel.Annotations (>= 5.0.0)
  • .NETFramework 8.0
    • Microsoft.CSharp (>= 4.7.0)
    • Newtonsoft.Json (>= 12.0.1)
    • System.ComponentModel.Annotations (>= 5.0.0)
  • .NETStandard 2.0
    • Microsoft.CSharp (>= 4.7.0)
    • Newtonsoft.Json (>= 12.0.1)
    • System.ComponentModel.Annotations (>= 5.0.0)
  • .NETFramework 4.7.1: 4.7.1.0
  • .NETFramework 6.0: 6.0.0.0
  • .NETFramework 8.0: 8.0.0.0
  • .NETStandard 2.0: 2.0.0.0

                        
Assembly Assembly hash Match
/lib/net6.0/frends.community.converttodynamic.dll 2dfe6097b20949d187d2fbea04c411dbFFFFFFFF
/lib/net8.0/frends.community.converttodynamic.dll 34765cb95d994a2ba8717035b1ad3eabFFFFFFFF
/lib/netstandard2.0/frends.community.converttodynamic.dll 656a3d9673f84a64acf453e412fd95a1FFFFFFFF
/lib/net471/frends.community.converttodynamic.dll fbcf4eb20ad94b9088936a631493f870FFFFFFFF

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
9 downloads for version 1.3.0
Download (24.79 KB)
Download legacy symbols (50 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