{"id":33191314,"url":"https://thoth-org.github.io/Thoth.Json/","last_synced_at":"2025-11-21T00:02:07.828Z","repository":{"id":34301332,"uuid":"175078729","full_name":"thoth-org/Thoth.Json","owner":"thoth-org","description":"Library for working with JSON in a type safe manner, this libs is targeting Fable","archived":false,"fork":false,"pushed_at":"2025-10-17T17:32:49.000Z","size":2801,"stargazers_count":160,"open_issues_count":40,"forks_count":41,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-10-21T08:47:42.663Z","etag":null,"topics":["fable","json"],"latest_commit_sha":null,"homepage":"https://thoth-org.github.io/Thoth.Json/","language":"F#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thoth-org.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":null,"patreon":"MangelMaxime","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-03-11T20:27:24.000Z","updated_at":"2025-10-17T17:32:53.000Z","dependencies_parsed_at":"2024-01-06T23:55:34.563Z","dependency_job_id":"b4aab288-56a4-4e56-a931-4d3687ed2cce","html_url":"https://github.com/thoth-org/Thoth.Json","commit_stats":{"total_commits":232,"total_committers":24,"mean_commits":9.666666666666666,"dds":0.6853448275862069,"last_synced_commit":"0124e2c55dc45ce1d02d2fb8baa16635a88ebb79"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/thoth-org/Thoth.Json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoth-org%2FThoth.Json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoth-org%2FThoth.Json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoth-org%2FThoth.Json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoth-org%2FThoth.Json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thoth-org","download_url":"https://codeload.github.com/thoth-org/Thoth.Json/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoth-org%2FThoth.Json/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285532343,"owners_count":27187706,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-20T02:00:05.334Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fable","json"],"created_at":"2025-11-16T06:00:41.329Z","updated_at":"2025-11-21T00:02:07.820Z","avatar_url":"https://github.com/thoth-org.png","language":"F#","funding_links":["https://patreon.com/MangelMaxime"],"categories":["Serialization"],"sub_categories":["Performance Analysis"],"readme":"# Thoth.Json [![Build Status](https://dev.azure.com/thoth-org/Thoth.Json/_apis/build/status/thoth-org.Thoth.Json?branchName=master)](https://dev.azure.com/thoth-org/Thoth.Json/_build/latest?definitionId=1\u0026branchName=master)\n\n| Stable | Prerelease\n--- | ---\n[![NuGet Badge](https://buildstats.info/nuget/Thoth.Json)](https://www.nuget.org/packages/Thoth.Json/) | [![NuGet Badge](https://buildstats.info/nuget/Thoth.Json?includePreReleases=true)](https://www.nuget.org/packages/Thoth.Json/)\n\n## Benchmark\n\n**Remark**\n\nWe are comparing the performance of Thoth.Json with standard JSON libraries like Newtonsoft.Json and System.Text.Json.\n\nThoth.Json is expected to be slower than these libraries because it uses them internally.\n\nIt is also important to note that Thoth.Json solve a different problem than these libraries. It aims to provide a cross-platform API for .NET, JavaScript, Python, etc. with a focus on the developer experience and type safety.\n\nFor most of the use cases, Thoth.Json should be fast enough, not everyone needs to parse JSON at the speed of light.\n\n```text\nBenchmarkDotNet v0.14.0, Arch Linux\nIntel Core i9-14900K, 1 CPU, 32 logical and 24 physical cores\n.NET SDK 8.0.413\n  [Host]     : .NET 8.0.19 (8.0.1925.36514), X64 RyuJIT AVX2 DEBUG\n  DefaultJob : .NET 8.0.19 (8.0.1925.36514), X64 RyuJIT AVX2\n\n\n| Method                      | Mean       | Error    | StdDev   | Ratio | RatioSD |\n|---------------------------- |-----------:|---------:|---------:|------:|--------:|\n| System.Text.Json            |   524.5 ns |  2.25 ns |  2.11 ns |  1.00 |    0.01 |\n| Newtonsoft                  | 1,757.2 ns | 25.57 ns | 22.66 ns |  3.35 |    0.04 |\n| Thoth.Json.System.Text.Json | 3,173.4 ns | 14.25 ns | 12.63 ns |  6.05 |    0.03 |\n| Thoth.Json.Newtonsoft       | 5,094.4 ns | 32.62 ns | 28.92 ns |  9.71 |    0.07 |\n```\n\n## Blogs post\n\nThis is to keep track of different blog post that I refer to sometimes when thinking or helping people.\n\n- [Introduction about Thoth.Json.Net](https://jordanmarr.github.io/fsharp/thoth-json-net-intro/)\n- [Our journey to F#: JSON serialization with a mix of C# and F#](https://www.planetgeek.ch/2021/04/19/our-journey-to-f-json-serialization-with-a-mix-of-c-and-f/)\n\n## Project structure\n\n### Tests\n\nFor the tests, we use a shared project `Thoth.Json.Tests` that is referenced by the different runners. This is because we want each runner to only have the minimum amount of dependencies, and also if we include files from outside the `.fsproj` folder, then some generated files by Fable escape from the specify `outDir`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/thoth-org.github.io%2FThoth.Json%2F","html_url":"https://awesome.ecosyste.ms/projects/thoth-org.github.io%2FThoth.Json%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/thoth-org.github.io%2FThoth.Json%2F/lists"}