# ![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)
没有合适的资源?快使用搜索试试~ 我知道了~
C# 串口实现控制雷赛电机,进行正转反转,及设置相关参数、和模拟离心运动
共66个文件
dll:13个
xml:9个
cs:8个
需积分: 2 2 下载量 11 浏览量
2024-02-21
14:53:23
上传
评论
收藏 4.74MB RAR 举报
温馨提示
C# 串口实现控制雷赛电机,进行正转反转,及设置相关参数、和模拟离心运动 离心运动: 缓慢提速到1200转,在缓慢降速到停止 用的驱动一体 DM2C-RS556 电机用能匹配的雷赛步进电机即可,开环电机
资源推荐
资源详情
资源评论
收起资源包目录
Motion.rar (66个子文件)
Motion
Motion.sln 1KB
.vs
Motion
v17
.suo 59KB
FileContentIndex
767d3782-7ae5-4654-800a-6c3e99808803.vsidx 2KB
3fef6d3d-b085-429e-bd80-c56761a9ce27.vsidx 46KB
a8afdfb1-b3fd-4627-92f9-7981735b3a59.vsidx 13KB
75275d25-04cf-47df-8e16-fcfea4f47bbb.vsidx 13KB
0f2bead3-5c1e-410c-98d1-fbb1e39e435f.vsidx 107B
Motion
Form1.Designer.cs 30KB
packages.config 284B
App.config 189B
Form1.cs 17KB
obj
Debug
Motion.Form1.resources 180B
Motion.csproj.CoreCompileInputs.cache 66B
Motion.exe 27KB
Motion.csproj.FileListAbsolute.txt 1KB
DesignTimeResolveAssemblyReferencesInput.cache 3KB
Motion.csproj.CopyComplete 0B
.NETFramework,Version=v4.6.1.AssemblyAttributes.cs 214B
TempPE
Motion.csproj.GenerateResource.cache 126B
Motion.Properties.Resources.resources 180B
Motion.pdb 72KB
Motion.csproj.AssemblyReference.cache 9KB
DesignTimeResolveAssemblyReferences.cache 139B
Motion.csproj 4KB
bin
Release
Debug
Motion.exe 27KB
LS.Data.dll 7KB
Newtonsoft.Json.xml 697KB
Motion.exe.config 189B
Newtonsoft.Json.dll 695KB
Motion.pdb 72KB
LS.Helper.dll 137KB
Properties
Resources.Designer.cs 3KB
Settings.Designer.cs 1KB
Settings.settings 249B
AssemblyInfo.cs 1KB
Resources.resx 5KB
Program.cs 527B
LeadShineMotor.cs 13KB
Form1.resx 6KB
packages
LS.Data.1.0.1
lib
net461
LS.Data.dll 7KB
LS.Data.1.0.1.nupkg 16KB
.signature.p7s 11KB
LS.Helper.1.0.4
lib
net461
LS.Helper.dll 137KB
LS.Helper.1.0.4.nupkg 69KB
.signature.p7s 11KB
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
共 66 条
- 1
资源评论
Rotion_深
- 粉丝: 96
- 资源: 21
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Picasso_v3.1 2.ipa
- chromedriver-mac-arm64.zip
- 蓝zapro.apk
- chromedriver-linux64.zip
- UCAS研一深度学习实验-MNIST手写数字识别python源码+详细注释(高分项目)
- 基于Python和PyTorch框架完成的一个手写数字识别实验源码(带MINIST手写数字数据集)+详细注释(高分项目)
- 基于Matlab在MNIST数据集上利用CNN完成手写体数字识别任务,并实现单层CNN反向传播算法+源代码+文档说明(高分项目)
- NVIDIA驱动、CUDA和Pytorch及其依赖
- 基于SVM多特征融合的微表情识别python源码+项目说明+详细注释(高分课程设计)
- html动态爱心代码一(附源码)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功