Migrate to System.Text.Json in Live2D exporter

- [exp3.json] Fixed format of Blend values (there should be strings according to the official specification)
- Fixed BlendType enum
This commit is contained in:
VaDiM
2026-06-19 21:11:55 +03:00
parent 92602fc4a9
commit 7b7907f2eb
14 changed files with 188 additions and 105 deletions
@@ -1,4 +1,6 @@
namespace CubismLive2DExtractor
using System.Text.Json.Serialization;
namespace CubismLive2DExtractor
{
public class CubismExpression3Json
{
@@ -11,6 +13,7 @@
{
public string Id { get; set; }
public float Value { get; set; }
[JsonConverter(typeof(JsonStringEnumConverter))]
public BlendType Blend { get; set; }
}
}