public void Add(string Name, object Value, string Type)
{
JSONAttribute a = Find(Name);
if (a != null)
{
a.Value = Value;
a.Type = (JSONType)Enum.Parse(typeof(JSONType), Type);
}
else
{
Values.Add(new JSONAttribute() { Name = Name, Value = Value, Type = (JSONType)Enum.Parse(typeof(JSONType), Type) });
}
}