小编spa*_*key的帖子

如何对Newtonsoft JArray进行排序?

例如,可以用col2JArray进行排序吗?

[
    {
        "col1": "thiscol",
        "col2": "thisval"
    },
    {
        "col1": "thiscol2",
        "col2": "thisval2"
    },
    {
        "col1": "thiscol3",
        "col2": "thisval3"
    }
]
Run Code Online (Sandbox Code Playgroud)

如果将其转换为数组是唯一的解决方案,那么我该怎么做呢?

c# json.net

16
推荐指数
1
解决办法
1万
查看次数

标签 统计

c# ×1

json.net ×1