json property array into unity

Hi, I have json as below:

{
	"level":"0",
	"layers":[3,2],
}

and I just want to have it imported into Unity.
I have serialized object as below:

using UnityEngine;
using UnityEngine.UI;
[System.Serializable]
public class StageData
{
	public int level; // current level
	public float[] layers;
}

and I imported as below:

StageData stage = JsonUtility.FromJson<StageData> (json);

“level” property imported successfully but array property “layers” is coming in as empty array -
Any suggestions?

It was post’s typo, actual code has same variable name - its still same result…