ソースでし
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;

public class JsonT : MonoBehaviour
{
[Serializable]
public class MyClass
{
public int level;
public float timeElapsed;
public string playerName;
}
// Start is called before the first frame update
void Start()
{
MyClass myObject = new MyClass();
myObject.level = 1;
myObject.timeElapsed = 47.5f;
myObject.playerName = "Dr Charles Francis";

string json = JsonUtility.ToJson(myObject);
print("json?:" + json);
}
}