# ![Logo](https://raw.githubusercontent.com/JamesNK/Newtonsoft.Json/master/Doc/icons/logo.jpg) Json.NET
[![NuGet version (Newtonsoft.Json)](https://img.shields.io/nuget/v/Newtonsoft.Json.svg?style=flat-square)](https://www.nuget.org/packages/Newtonsoft.Json/)
[![Build status](https://dev.azure.com/jamesnk/Public/_apis/build/status/JamesNK.Newtonsoft.Json?branchName=master)](https://dev.azure.com/jamesnk/Public/_build/latest?definitionId=8)
Json.NET is a popular high-performance JSON framework for .NET
## Serialize JSON
```csharp
Product product = new Product();
product.Name = "Apple";
product.Expiry = new DateTime(2008, 12, 28);
product.Sizes = new string[] { "Small" };
string json = JsonConvert.SerializeObject(product);
// {
// "Name": "Apple",
// "Expiry": "2008-12-28T00:00:00",
// "Sizes": [
// "Small"
// ]
// }
```
## Deserialize JSON
```csharp
string json = @"{
'Name': 'Bad Boys',
'ReleaseDate': '1995-4-7T00:00:00',
'Genres': [
'Action',
'Comedy'
]
}";
Movie m = JsonConvert.DeserializeObject<Movie>(json);
string name = m.Name;
// Bad Boys
```
## LINQ to JSON
```csharp
JArray array = new JArray();
array.Add("Manual text");
array.Add(new DateTime(2000, 5, 23));
JObject o = new JObject();
o["MyArray"] = array;
string json = o.ToString();
// {
// "MyArray": [
// "Manual text",
// "2000-05-23T00:00:00"
// ]
// }
```
## Links
- [Homepage](https://www.newtonsoft.com/json)
- [Documentation](https://www.newtonsoft.com/json/help)
- [NuGet Package](https://www.nuget.org/packages/Newtonsoft.Json)
- [Release Notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Contributing Guidelines](https://github.com/JamesNK/Newtonsoft.Json/blob/master/CONTRIBUTING.md)
- [License](https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md)
- [Stack Overflow](https://stackoverflow.com/questions/tagged/json.net)
没有合适的资源?快使用搜索试试~ 我知道了~
mes上传基于C#上传web service示例源码
共74个文件
cs:12个
xml:9个
dll:9个
需积分: 0 4 下载量 80 浏览量
2023-07-28
13:46:30
上传
评论
收藏 5.01MB ZIP 举报
温馨提示
实际项目写的demo,使用C#上传web service接口,检验和上传都已写好,可以直接用于项目。
资源推荐
资源详情
资源评论
收起资源包目录
FanUploadMES.zip (74个子文件)
FanUploadMES
.vs
FanUploadMES
v17
.suo 60KB
FileContentIndex
read.lock 0B
4a20d758-1f17-4fea-a318-1ebf32387739.vsidx 32KB
d5f60bd2-ad92-4dfb-83b1-e5ebf60fcfc3.vsidx 59KB
b7b7954c-4e36-4320-8272-3cd12ee65ca3.vsidx 42KB
merges
9b18e699-9064-4c7b-bf9a-f90c3e8e09e0.vsidx 24KB
FanUploadMES.sln 1KB
FanUploadMES
Form1.Designer.cs 10KB
packages.config 143B
App.config 187B
Form1.cs 5KB
obj
Debug
FanUploadMES.exe 25KB
FanUploadMES.csproj.FileListAbsolute.txt 3KB
DesignTimeResolveAssemblyReferencesInput.cache 7KB
FanUploadMES.pdb 82KB
FanUploadMES.Form1.resources 180B
FanUploadMES.csproj.SuggestedBindingRedirects.cache 0B
TempPE
.NETFramework,Version=v4.8.AssemblyAttributes.cs 210B
FanUploadMES.csproj.CopyComplete 0B
FanUploadMES.csproj.CoreCompileInputs.cache 42B
FanUploadMES.csproj.AssemblyReference.cache 11KB
FanUploadMES.csproj.GenerateResource.cache 126B
FanUploadMES.Properties.Resources.resources 180B
DesignTimeResolveAssemblyReferences.cache 2KB
FanUploadMES.csproj 4KB
UniServices.wsdl 7KB
Model
readWriteIni.cs 3KB
Reference.cs 28KB
Connected Services
Reference.cs 19KB
ServiceReference1
UniServices.disco 783B
Upload_MES.ServiceReference1.AepRequestResponse.datasource 668B
Upload_MES.ServiceReference1.HelloWorldResponse.datasource 668B
UniServices.wsdl 7KB
Reference.cs 28KB
configuration.svcinfo 1KB
Upload_MES.ServiceReference1.responseBean.datasource 656B
Upload_MES.ServiceReference1.UniRequestResponse.datasource 668B
configuration91.svcinfo 19KB
Reference.svcmap 2KB
DataBean.cs 3KB
bin
Release
Debug
FanUploadMES.exe.config 187B
setup.ini 278B
FanUploadMES.exe 25KB
FanUploadMES.pdb 82KB
Newtonsoft.Json.xml 697KB
Newtonsoft.Json.dll 695KB
Properties
Resources.Designer.cs 3KB
Settings.Designer.cs 1KB
Settings.settings 249B
AssemblyInfo.cs 1KB
Resources.resx 5KB
Program.cs 533B
Form1.resx 6KB
packages
Newtonsoft.Json.13.0.3
lib
net45
Newtonsoft.Json.xml 697KB
Newtonsoft.Json.dll 695KB
netstandard1.0
Newtonsoft.Json.xml 676KB
Newtonsoft.Json.dll 665KB
net40
Newtonsoft.Json.xml 554KB
Newtonsoft.Json.dll 571KB
netstandard1.3
Newtonsoft.Json.xml 684KB
Newtonsoft.Json.dll 683KB
net35
Newtonsoft.Json.xml 542KB
Newtonsoft.Json.dll 504KB
netstandard2.0
Newtonsoft.Json.xml 696KB
Newtonsoft.Json.dll 689KB
net20
Newtonsoft.Json.xml 596KB
Newtonsoft.Json.dll 567KB
net6.0
Newtonsoft.Json.xml 694KB
Newtonsoft.Json.dll 696KB
LICENSE.md 1KB
Newtonsoft.Json.13.0.3.nupkg 2.33MB
packageIcon.png 9KB
README.md 2KB
.signature.p7s 24KB
共 74 条
- 1
资源评论
qq_623463942
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功