ARSoftware.ObjectMapper
1.2.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package ARSoftware.ObjectMapper --version 1.2.0
NuGet\Install-Package ARSoftware.ObjectMapper -Version 1.2.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="ARSoftware.ObjectMapper" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ARSoftware.ObjectMapper" Version="1.2.0" />
<PackageReference Include="ARSoftware.ObjectMapper" />
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 ARSoftware.ObjectMapper --version 1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ARSoftware.ObjectMapper, 1.2.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 ARSoftware.ObjectMapper@1.2.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=ARSoftware.ObjectMapper&version=1.2.0
#tool nuget:?package=ARSoftware.ObjectMapper&version=1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ObjectMapper
JSON Configuration Documentation
Basic properties can be mapped using the following format
{
"TargetProperty": "Source.Property.Path"
}
Nested objects are mapped using a sub configuration, these can be defined in a simlar fashion to the basic property
{
"TargetObject": {
"TargetNestedProperty": "Source.Property.Path",
"TargetNestedPropertyTwo": "Path.To.Source"
}
}
Arrays can be defined using a sub configuration defining both a source and map property
{
"TargetArray": {
"source": "Path.To.Array",
"map": {
"TargetArrayProperty": "Path.To.Source.Inside.Array"
}
}
}
There are a few functions available to use during the mapping process. These are:
Concat(arg1, arg2, ...)- Concatenates all the argumentsUpper(arg)- Transforms the argument to upper caseLower(arg)- Transforms the argument to lower caseJoin(separator, arg1, arg2, ...)- Joins the arguments using the separatorGuid()- Generates a new GuidNow()- Current DateTime (local)Default('value')- Prints a default value
{
"TargetProperty": "Guid()"
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. 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.
-
net9.0
- Newtonsoft.Json (>= 13.0.4)
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.4.5 | 105 | 2/23/2026 |
| 2.4.4 | 98 | 2/23/2026 |
| 2.4.2 | 101 | 2/22/2026 |
| 2.4.1 | 106 | 2/18/2026 |
| 2.4.0 | 109 | 2/18/2026 |
| 2.3.3 | 99 | 2/18/2026 |
| 2.2.0 | 107 | 2/9/2026 |
| 2.1.0 | 436 | 12/11/2025 |
| 2.0.0 | 423 | 12/10/2025 |
| 1.2.2 | 449 | 12/10/2025 |
| 1.2.1 | 431 | 12/10/2025 |
| 1.2.0 | 440 | 12/10/2025 |
| 1.1.7 | 444 | 12/10/2025 |
| 1.1.6 | 438 | 12/10/2025 |
| 1.1.5 | 435 | 12/10/2025 |
| 1.1.3 | 437 | 12/10/2025 |
| 1.1.0 | 429 | 12/8/2025 |
| 1.0.1 | 203 | 11/5/2025 |
| 1.0.0 | 195 | 11/5/2025 |