将数据从JSON传递给c# [英] Pass DATA from JSON to c#

查看:110
本文介绍了将数据从JSON传递给c#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个字符串对象,其值的形式为: -

[{\G\:26.92,\K\:75.76},{\\ \\G \:26.92,\K:75.79},{\G \:26.90,\K:75.78}]



我想将它反序列化为数组对象。



怎么可能

对不起我再次修改我的问题。



先谢谢

解决方案

将此JSON转换为数组并发送结束。

例如 - JSON数组:在Web应用程序中传递数组对象 [< a href =https://blog.udemy.com/json-array/target =_ blanktitle =New Window> ^ ]。


This应该帮助你。



反序列化JSON用C# [ ^ ]

I have a string object with value in the form of :-
"[{\"G\":26.92,\"K\":75.76},{\"G\":26.92,\"K\":75.79},{\"G\":26.90,\"K\":75.78}]"

I want to deserialize it into an array object.

How can it be possible
Sorry I modify my question Again.

Thanks in Advance

解决方案

Convert this JSON to an array and send it over.
For example - JSON Array: Passing Array Objects in Your Web Apps[^].


This should help you.

Deserialize JSON with C#[^]


这篇关于将数据从JSON传递给c#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆