JsonViewer.Blazor v0.0.6
This release includes performance improvements and minor optimizations.
π§ Performance Optimizations
β‘ Improved Memory Management in JsonPathDisplay
- CancellationToken Integration: Using
CancellationTokenSourcefor better async operation management - Memory Leak Prevention: Prevents memory leaks when quickly closing the modal
- Better Resource Management: Improved resource management by disposing CancellationTokenSource
π Improved TruncateValue Performance
- Modern C# Features: Using
Span<char>andAsSpan()for better performance - Optimized String Operations: Improved performance for large strings using
string.Concatinstead ofSubstring
π Technical Changes
Components Modified
JsonPathDisplay.razor: Improved async operations management and string operations performance
Performance Improvements
- Reduced memory usage in copy path operations
- Improved truncate speed for long values
π¦ Installation
dotnet add package JsonViewer.Blazor --version 0.0.6π Notes
- This release focuses primarily on performance and optimization improvements
- All previous features remain unchanged