4.8.8.40 (最新)
.NET7
WebApi
Windows 10
开发环境 (Development)
InMemoryDatabase
Kestrel
Clay.Object(new { Value = MyEnum.A });
internal enum MyEnum
{
A = 1,
B = 2
}
success
异常:System.Xml.XmlException:“Encountered unexpected character 'A'.”
在 System.Xml.XmlExceptionHelper.ThrowXmlException(XmlDictionaryReader reader, XmlException exception)
在 System.Runtime.Serialization.Json.XmlJsonReader.ReadAttributes()
在 System.Runtime.Serialization.Json.XmlJsonReader.Read()
在 System.Xml.Linq.XElement.ReadElementFrom(XmlReader r, LoadOptions o)
在 System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
在 Furion.ClayObject.Clay.Parse(String json, Encoding encoding, Boolean throwOnUndefined)
在 Furion.ClayObject.Clay.Parse(String json, Boolean throwOnUndefined)
在 Furion.ClayObject.Clay.Object(Object obj, Boolean throwOnUndefined)
在 Program.$(String[] args) 在 D:\Work\Projects\BugDemo\BugDemo\Program.cs 中: 第 4 行
https://gitee.com/tiansfather/bugdemo.git