Skip to content

Commit 5293d7f

Browse files
committed
Updated README file
1 parent afafbfe commit 5293d7f

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

README.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,32 @@
11
# DeepConvert
22

3-
Converts a data type to another data type, including collections and their items. With special support for DateTime conversions.
3+
Converts a data type to another data type, smarter than the standard Convert class, including collections and their items as well as object properties (duck typing).
4+
With special support for DateTime conversions.
45

56
[![NuGet](https://img.shields.io/nuget/v/Unclassified.DeepConvert.svg)](https://www.nuget.org/packages/Unclassified.DeepConvert)
67

78
Supports **.NET Standard 2.0** and **.NET Framework 4.5**.
89

910
## Description
1011

11-
The `System.Convert` class provides methods to convert values from one type into another. This is restricted to the `IConvertible` interface which mainly covers basic numeric types and a few more like boolean, string or DateTime. Its efforts in trying to convert more obscure are very limited. Collections of values are completely unsupported by that class.
12+
The `System.Convert` class provides methods to convert values from one type into another.
13+
This is restricted to the `IConvertible` interface which mainly covers basic numeric types and a few more like boolean, string or DateTime.
14+
Its efforts in trying more complex conversions are very limited.
15+
Collections of values are completely unsupported by that class.
1216

13-
Serialisation and deserialisation libraries provide data in a very specific structure that may not match the program’s requirements. Converting an array of integer values into a list of long values or the like often require manual copy implementations. It gets even more complicated when mapping a dictionary with objects to one with strings, or even a flat list with key/value pairs to a dictionary.
17+
Serialisation and deserialisation libraries provide data in a very specific structure that may not match the program’s requirements.
18+
Converting an array of integer values into a list of long values or the like often require manual copy implementations.
19+
It gets even more complicated when mapping a dictionary with objects to one with strings, or even a flat list with key/value pairs to a dictionary.
1420

15-
The `DeepConvert` class solves all these problems by supporting a larger number of basic data types and many collections thereof. Its special tricks include understanding localised boolean values and extended parsing and converting of time-based values. This also allows conversions between .NET ticks, UNIX timestamp seconds or JavaScript timestamp milliseconds.
21+
The `DeepConvert` class solves all these problems by supporting a larger number of basic data types and many collections thereof.
22+
Its special tricks include understanding localised boolean values and extended parsing and converting of time-based values.
23+
This also allows conversions between .NET ticks, UNIX timestamp seconds or JavaScript timestamp milliseconds.
1624

1725
## Tests
1826

19-
This library is covered by some unit tests but has no near full code coverage yet. The unit tests can be used to get an overview of supported conversions until a more detailed documentation is available.
27+
This library is covered by some unit tests but has no near full code coverage yet.
28+
The unit tests can be used to get an overview of supported conversions until a more detailed documentation is available.
29+
It should also be easy to follow the IntelliSense documentation of static method lists and parameter descriptions.
2030

2131
## License
2232

0 commit comments

Comments
 (0)