GitHub - json-everything/json-everything: System.Text.Json-based support for all of your JSON needs. (original) (raw)

Build & Test Test results Percentage of issues still open Average time to resolve an issue License

What is json-everything?

The primary philosophy behind json-everything is to ensure that common JSON functionality has good support in the System.Text.Json space.

The first step to that is checking whether there exist other projects that support a given function.

If so, that effort likely won't be duplicated here. A bit farther down you'll find a list of other projects that are doing some cool things with JSON.

Otherwise, it's open to consideration for this project.

Playground Documentation Blog Interactive Learning
Try it online json-everything.net Documentation docs.json-everything.net Blog blog.json-everything.net Learn learn.json-everything.net
Discuss Ask Built with
Slack StackOverflow Made with Jetbrains Resharper

What's in the box?

There are actually multiple boxes. Each piece of functionality has been broken out into its own library, so you can pick and choose the one(s) that you need.

All libraries are built to .Net Standard 2.0 and .Net 8.

JsonSchema.NetNuGet versionNuGet version JSON Schema, drafts 6 and higher
JsonSchema.Net.GenerationNuGet versionNuGet version Generation of schemas from .Net types
JsonSchema.Net.Generation.DataAnnotationsNuGet versionNuGet version Schema generation support for System.ComponentModel.DataAnnotations.
JsonSchema.Net.DataGenerationNuGet versionNuGet version Random instance data generation (powered by Bogus)
JsonSchema.Net.DataNuGet versionNuGet version A vocabulary for accessing instance and external data
JsonSchema.Net.ArrayExtNuGet versionNuGet version A vocabulary for extending array validation
JsonSchema.Net.OpenApiNuGet versionNuGet version OpenApi 3.1 vocabulary extension (used by Graeae)
JsonPath.NetNuGet versionNuGet version JSON Path (RFC 9535)
JsonPatch.NetNuGet versionNuGet version JSON Patch (RFC 6902)
JsonPointer.NetNuGet versionNuGet version JSON Pointer (RFC 6901) and Relative JSON Pointer (Specification)
JsonLogicNuGet versionNuGet version JsonLogic (Website)
JsonE.NetNuGet versionNuGet version JSON-e (Website)
Json.More.NetNuGet versionNuGet version General-use extensions that probably should have been included in System.Text.Json[.Nodes] but weren't
Yaml2JsonNodeNuGet versionNuGet version Conversions between the YAML document model in YamlDotNet and JsonNode (both directions).

All of the above libraries offer complete support for their associated specifications.

Error message translations for JsonSchema.Net available in:

NOTE Each language pack is provided by its own Nuget package.

You can also view JSON Schema Test Suite results on Bowtie, which runs the test suite against multiple implementations across different platforms.

DISCLAIMER My library, JsonSchema.Net, is not related to or associated with the website https://jsonschema.net, except that they are both excellent JSON Schema tools.

Deprecated packages

These packages have also been a part of this suite but are no longer supported.

System.Text.Json support by other projects

If you don't find what you're looking for here, please try one of these excellent projects:

If you use JSON to do something that is not covered by a library in this suite or one of the above projects, feel free to create a feature issue.

If you maintain or know of another project that extends System.Text.Json to do cool things, I'd like to list it here, so please create a general issue to let me know about it.

Contributing

Please see the Code of Conduct and the CONTRIBUTING file for more information.

Sponsorship

If you found these libraries helpful and would like to promote continued development, please consider sponsoring the maintainers.

.NET Foundation

This project is supported by the .NET Foundation.