Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/viral32111/jsonextensions

Useful creation & extension methods for System.Text.Json.
https://github.com/viral32111/jsonextensions

dotnet-core json-api nuget-package

Last synced: 5 days ago
JSON representation

Useful creation & extension methods for System.Text.Json.

Awesome Lists containing this project

README

        

# JSON Extensions

[![CI](https://github.com/viral32111/JsonExtensions/actions/workflows/ci.yml/badge.svg)](https://github.com/viral32111/JsonExtensions/actions/workflows/ci.yml)
[![CodeQL](https://github.com/viral32111/JsonExtensions/actions/workflows/codeql.yml/badge.svg)](https://github.com/viral32111/JsonExtensions/actions/workflows/codeql.yml)
![GitHub tag (with filter)](https://img.shields.io/github/v/tag/viral32111/JsonExtensions?label=Latest)
![Nuget](https://img.shields.io/nuget/v/viral32111.JsonExtensions?label=NuGet)
![GitHub repository size](https://img.shields.io/github/repo-size/viral32111/JsonExtensions?label=Size)
![GitHub release downloads](https://img.shields.io/github/downloads/viral32111/JsonExtensions/total?label=Downloads)
![Nuget](https://img.shields.io/nuget/dt/viral32111.JsonExtensions?label=Installs)
![GitHub commit activity](https://img.shields.io/github/commit-activity/m/viral32111/JsonExtensions?label=Commits)

This is a NuGet package for [.NET 7](https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-7) that adds several creation and extension methods to [`System.Text.Json`](https://docs.microsoft.com/dotnet/api/system.text.json) data types, primarily for filesystem manipulation and accessing nested properties.

Check out my [Server Monitor](https://github.com/viral32111/ServerMonitor) and [Twitch Bot](https://github.com/viral32111/TwitchBot) .NET projects that use this package!

## 📥 Usage

1. Add the `viral32111.JsonExtensions` NuGet package to a .NET project, from [GitHub Packages](https://github.com/viral32111/JsonExtensions/packages/1617512) or [NuGet Gallery](https://www.nuget.org/packages/viral32111.JsonExtensions/).
2. Include the namespace within C# source file(s) via `using viral32111.JsonExtensions;`.
3. Check [the developer documentation](https://github.com/viral32111/JsonExtensions/wiki/Developer-Documentation) for each method's usage.

## ⚖️ License

Copyright (C) 2022-2023 [viral32111](https://viral32111.com).

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see https://www.gnu.org/licenses.