LitJSON
=======
[![NuGet](https://img.shields.io/nuget/v/LitJson.svg)](https://www.nuget.org/packages/LitJson) [![MyGet](https://img.shields.io/myget/litjson/vpre/LitJson.svg?label=myget)](https://www.myget.org/gallery/litjson)
A *.Net* library to handle conversions from and to JSON (JavaScript Object
Notation) strings.
> _It's quick and lean, without external dependencies.
> Just a few classes so easily embeddable in your own code or a very small assembly to ship with your code.
> The code is highly portable, which in general makes it easy to adapt for new platforms._
## Continuous integration
| Build server | Platform | Build status |
|-----------------------------|---------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|
| AppVeyor | Windows | [![AppVeyor branch](https://img.shields.io/appveyor/ci/litjson/litjson/develop.svg)](https://ci.appveyor.com/project/litjson/litjson/branch/develop) |
| Bitrise | MacOS | [![Build Status](https://app.bitrise.io/app/5975a00ca2666fb1/status.svg?token=OZnv4YWRw71IVax38Wi50Q&branch=develop)](https://app.bitrise.io/app/5975a00ca2666fb1) |
| Bitrise | Linux | [![Build Status](https://app.bitrise.io/app/4c9ee62c6ba13630/status.svg?token=RBH8UKw-68lQYjageT8VoQ&branch=develop)](https://app.bitrise.io/app/4c9ee62c6ba13630)|
| Travis | Linux / MacOS | [![Travis build status](https://travis-ci.org/LitJSON/litjson.svg?branch=develop)](https://travis-ci.org/LitJSON/litjson) |
| Azure Pipelines | Linux / MacOS / Windows | [![Azure Pipelines Build Status](https://dev.azure.com/LitJSON/litjson/_apis/build/status/LitJSON.litjson?branchName=develop)](https://dev.azure.com/LitJSON/litjson/_build/latest?definitionId=3&branchName=develop) |
## Compiling
Code can be compiled using .NET CLI or by launching the bootstrappers in the root of the repository.
#### Windows
```powershell
./build.ps1
```
#### Linux / OS X
```console
./build.sh
```
#### Prerequisites
The bootstrappers will (locally in repo)
* Fetch and install .NET Core CLI / SDK version needed to compile LitJSON.
* Fetch and install Cake runner
* Execute build script with supplied target (`--target=[Target]`) or by default
1. Clean previous artifacts
1. Restore build dependencies from NuGet
1. Build
1. Run unit tests
1. Create NuGet package
#### Testing
This library comes with a set of unit tests using the [NUnit][nunit]
framework.
## Using LitJSON from an application
#### Package manager
```PowerShell
Install-Package LitJson -Version 0.10.0
```
#### .NET CLI
```PowerShell
dotnet add package LitJson --version 0.10.0
```
#### Paket CLI
```PowerShell
paket add LitJson --version 0.10.0
```
Alternatively, just copy the whole tree of files under `src/LitJSON` to your
own project's source tree and integrate it with your development environment.
#### Requirements
LitJSON currently targets and supports
* .NET Standard 2.0
* .NET Standard 1.5
* .NET Framework 4.5 and above
* .NET Framework 4.0
* .NET Framework 3.5 (including SQLCLR, for which [WCOMAB/SqlServerSlackAPI](https://github.com/WCOMAB/SqlServerSlackAPI) is an example of)
* .NET Framework 2.0
* Mono 4.4.2 and above
#### Prereleases
Each merge to develop is published to our NuGet feed on [MyGet](mygetgallery).
## Contributing
So you’re thinking about contributing to LitJSON? Great! It’s **really** appreciated.
* Create an issue
* Fork the repository.
* Create a feature branch from `develop` to work in.
* Make your feature addition or bug fix.
* Don't forget the unit tests.
* Send a pull request.
## License
[Unlicense][unlicense] (public domain).
[mygetgallery]: [https://www.myget.org/gallery/litjson]
[litjson]: [unlicense](http://unlicense.org/
[nunit]: http://www.nunit.org/
[pkg-config]: http://www.freedesktop.org/wiki/Software/pkg-config
[unlicense]: http://unlicense.org/
没有合适的资源?快使用搜索试试~ 我知道了~
listjson源码0.18.0(5积分)
共65个文件
cs:31个
yml:5个
css:3个
需积分: 5 0 下载量 73 浏览量
2023-08-14
16:40:00
上传
评论
收藏 86KB ZIP 举报
温馨提示
1)https://github.com/LitJSON/litjson/releases上的资源
资源推荐
资源详情
资源评论
收起资源包目录
litjson-0.18.0.zip (65个子文件)
litjson-0.18.0
.travis.yml 434B
.github
workflows
build.yml 955B
FUNDING.yml 15B
.gitattributes 11B
doc
template.htm 1KB
Makefile 916B
quickstart
intro.md 507B
guide.md 12KB
out
css
vendor
unsemantic.css 42KB
normalize.css 7KB
docs.css 655B
quickstart.html 25KB
template-web.htm 1KB
NEWS 44B
src
LitJson
litjson.png 3KB
ParserToken.cs 850B
JsonWriter.cs 12KB
JsonMockWrapper.cs 3KB
Lexer.cs 23KB
JsonException.cs 2KB
Netstandard15Polyfill.cs 536B
JsonData.cs 27KB
JsonMapper.cs 32KB
LitJSON.csproj 3KB
JsonReader.cs 15KB
IJsonWrapper.cs 1KB
AssemblyInfo.cs.in 525B
GitVersion.yml 322B
azure-pipelines.yaml 609B
build.cake 9KB
benchmarks
GNUmakefile 3KB
BmLitJsonOutput.cs 4KB
BmNewtonsoftImport.cs 1KB
README 2KB
BmNewtonsoftExport.cs 1KB
BmLitJsonReader.cs 2KB
BmJayrockWriter.cs 3KB
BmCommon.cs 8KB
BmLitJsonWriter.cs 3KB
BmJayrockExport.cs 1KB
BmNewtonsoftOutput.cs 4KB
BmJayrockOutput.cs 4KB
BmNewtonsoftWriter.cs 3KB
BmLitJsonImport.cs 1KB
.gitignore 24B
Benchmark.cs 7KB
BmJayrockReader.cs 2KB
BmNewtonsoftReader.cs 2KB
BmLitJsonExport.cs 1KB
BmJayrockImport.cs 866B
global.json 158B
test
LitJSON.Tests.csproj 573B
JsonMapperTest.cs 33KB
JsonWriterTest.cs 9KB
JsonDataTest.cs 7KB
json-example.txt 4KB
JsonReaderTest.cs 13KB
.gitignore 130B
appveyor.yml 222B
LitJSON.sln 3KB
README.md 4KB
build.sh 1KB
COPYING 1KB
build.ps1 4KB
.config
dotnet-tools.json 155B
共 65 条
- 1
资源评论
leboc
- 粉丝: 8
- 资源: 12
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功