在许多JSON解析器中,JSON的元素表示为对象(引用)类型.
然而在C#系统中.文本Json JsonElement
是struct
类型.为什么JSOneElement是 struct 类型?
I'm worried about this could cause unnecessary memory copy.
What if JsonElement has very big data? what if JsonElement has array that contains over 1000 objects?