You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
</div>`System.Text.Json is designed to provide better performance and security compared to other JSON libraries. It supports advanced features like parallel parsing and support for new data types such as Span and Utf8JsonReader, enabling faster data processing and reduced memory usage.
376
+
</div>
377
+
378
+
System.Text.Json is designed to provide better performance and security compared to other JSON libraries. It supports advanced features like parallel parsing and support for new data types such as Span and Utf8JsonReader, enabling faster data processing and reduced memory usage.
384
379
385
380
Based on performance benchmark tests conducted in different environments and scenarios, System.Text.Json is generally considered to have the best performance among these libraries. According to performance tests, the results show that System.Text.Json has significantly faster JSON-to-.NET object and vice versa conversion times compared to Newtonsoft.Json, especially in cases with large data.
386
381
@@ -402,9 +397,12 @@ However, using these options can affect performance. YANJson provides optimized
402
397
For the most recent performance benchmarks, visit:
Copy file name to clipboardExpand all lines: lib/YANLib/Home.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,12 @@
2
2
3
3
Welcome to the YANLib documentation! YANLib is a comprehensive .NET utility library that provides a wide range of extension methods and helper classes to simplify common programming tasks and enhance developer productivity.
4
4
5
+
5
6
## Overview
6
7
7
8
YANLib offers a collection of specialized components, each focusing on a specific area of functionality. The library is designed with a consistent API, robust error handling, and support for both nullable and non-nullable types. All components are implemented as extension methods, allowing for a fluent and intuitive coding experience.
8
9
10
+
9
11
## Key Components
10
12
11
13
### [YANObject](YANObject)
@@ -193,6 +195,7 @@ var processNames = new List<string?>
193
195
"calc",
194
196
"mspaint"
195
197
};
198
+
196
199
awaitprocessNames.KillAllProcessesByNames();
197
200
```
198
201
@@ -252,6 +255,7 @@ using YANLib;
252
255
253
256
Now you can start using any of the extension methods provided by the library.
254
257
258
+
255
259
## Examples
256
260
257
261
### Data Processing Pipeline
@@ -355,6 +359,7 @@ public double CalculateStatistics(IEnumerable<double> values)
355
359
}
356
360
```
357
361
362
+
358
363
## Contributing
359
364
360
365
Contributions to YANLib are welcome! Please feel free to submit issues, feature requests, or pull requests to help improve the library.
`YANDateTime` is a comprehensive utility library that provides extension methods for working with DateTime objects in C# applications. It offers a wide range of date and time operations for both single DateTime values and collections, with support for generic types and null-safe operations.
6
7
8
+
7
9
## Features
8
10
9
11
The library is organized into several functional categories:
@@ -21,7 +23,6 @@ The library is organized into several functional categories:
21
23
-**Parallel Processing**: Automatic parallel processing for large collections (1000+ elements)
22
24
-**Null Handling**: Graceful handling of null values in collections
23
25
24
-
25
26
### Type Flexibility
26
27
27
28
-**Generic Support**: Process objects of any type that can be converted to DateTime
`YANEnumerable` is a versatile utility library that provides extension methods for converting collections of objects to strongly-typed collections in C# applications. It offers a comprehensive set of methods for transforming generic and non-generic collections into arrays, lists, hash sets, dictionaries, lookups, and immutable collections of specific types.
6
7
8
+
7
9
## Features
8
10
9
11
The library is organized into several functional categories:
@@ -15,14 +17,12 @@ The library is organized into several functional categories:
15
17
-**HashSet Conversion**: Create strongly-typed hash sets from collections
16
18
-**Type Parsing**: Automatically parse elements to the specified type during conversion
17
19
18
-
19
20
### Dictionary and Lookup Conversion
20
21
21
22
-**Dictionary Creation**: Convert collections to dictionaries with typed keys and values
22
23
-**Lookup Creation**: Transform collections into lookups with typed keys and elements
23
24
-**Key/Value Selection**: Extract and convert keys and values from source elements
24
25
25
-
26
26
### Immutable Collection Support
27
27
28
28
-**Immutable Arrays**: Convert collections to immutable arrays
@@ -32,7 +32,6 @@ The library is organized into several functional categories:
32
32
-**Immutable Stacks/Queues**: Transform collections into immutable stacks or queues
33
33
-**Immutable Sorted Collections**: Create immutable sorted sets and dictionaries
34
34
35
-
36
35
### Collection Source Support
37
36
38
37
-**Generic Collections**: Convert from `IEnumerable<object?>` sources
0 commit comments