Saltar al contenido
← volver

C# basic JsonConverter tip

DEV · dev.to Publicado:

Introduction Learn how to properly use a JsonConverter, along with property and global setup for converters. Before getting started, the converter is intentionally simple. The focus here is proper planning for the data for a specific task, like importing data from a JSON file into a database, in this case, properly formatted. Reads and converts the JSON string value to ensure the first character to uppercase. public class UpperCaseFirstCharConverter : JsonConverter { public override bool CanCon…

Leer original →