JNPF3.4.7版本分别在表单设计、列表设计、流程设计、门户设计以及系统管理、系统菜单、系统权限等多个模块都有新的功能,帮助用户更加轻松便捷实现应用搭建,接下来一起往下探索新的开发旅程吧。
using System.Text.Json;
namespace SerializeToFileAsync
{
public class WeatherForecast
{
public DateTimeOffset Date { get; set; }
public int TemperatureCelsius { get; set; }
public string? Summary { get; set; }
}
public class Program
{
public static async Task Main()
{
var weatherForecast = new WeatherForecast
{
Date = DateTime.Parse("2019-08-01"),
TemperatureCelsius = 25,
Summary = "Hot"
};
string fileName = "WeatherForecast.json";
using FileStream createStream = File.Create(fileName);