Overriding JSON serializer in Giraffe

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • I use my side-project KyivStationWalk as a set of my opinionated takes on software architecture. No wonder I use F# here. One of the types I use in this project to describe my domain is the subway station branch. There are 3 branches in Kyiv named by their traditional colors.

  • Giraffe

    A native functional ASP.NET Core web framework for F# developers.

  • By default Giraffe, the framework which I use as a web server, uses Newtonsoft.Json to serialize results to JSON. However, for discriminated union, it generates quite a lot of JSON so I've switched to System.Text.Json which is built into newer versions of .Net Core. In combination with FSharp.SystemTextJson package allows serializing discriminated unions more gracefully. All we need is to decorate Branch type with JsonFSharpConverter(JsonUnionEncoding.BareFieldlessTags) attribute.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Confusion in learning Giraffe's HttpHandler

    1 project | /r/fsharp | 9 Jan 2023
  • Is it possible to run C# asp.net core MVC and f# giraffe in a single solution

    1 project | /r/fsharp | 21 Feb 2022
  • Giraffe.GoodRead, Giraffe.QueryReader, Giraffe.JsonTherapy and Fable.Remoting.Giraffe Releases 🦒🔷🚀

    1 project | /r/fsharp | 3 Jun 2021
  • Writing high performance F# code

    3 projects | news.ycombinator.com | 4 Feb 2021
  • Show HN: F# web server in 3-4 lines of code

    8 projects | news.ycombinator.com | 5 Nov 2021