Skip to content

Commit 808e473

Browse files
committed
README
1 parent b77c97e commit 808e473

File tree

2 files changed

+9
-29
lines changed

2 files changed

+9
-29
lines changed

README.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<h1 align="center" style="text-align:center;">
2-
Snack
2+
SnackJson
33
</h1>
44
<p align="center">
55
<strong>A Json framework with support for JsonDom, JsonPath, JsonSchema (for Java)</strong>
@@ -50,21 +50,11 @@
5050

5151
<hr />
5252

53-
jdk8 based. Support: Json Dom construction, encoding and decoding, fetching, JsonPath query, JsonSchema validation.
53+
SnackJson draws on the design of `Javascript` where all variables are declared with `var` and `Xml dom` where everything is `Node`. Everything underneath it is represented by an `ONode`, which stands for `One node` and can be converted to any type.
5454

55-
```xml
56-
<dependency>
57-
<groupId>org.noear</groupId>
58-
<artifactId>snack4-jsonpath</artifactId>
59-
<version>...</version>
60-
</dependency>
61-
```
62-
63-
Snach-jsonpath draws on the design of `Javascript` where all variables are declared with `var` and `Xml dom` where everything is `Node`. Everything underneath it is represented by an `ONode`, which stands for `One node` and can be converted to any type.
64-
65-
* It emphasizes the ability to build and manipulate the document tree
55+
* Emphasize the ability to build and manipulate the `Json dom`
6656
* High performance `Json path` queries (much faster than `jayway.jsonpath`), Compatible with `jayway.jsonpath` and [IETF JSONPath (RFC 9535)](https://www.rfc-editor.org/rfc/rfc9535.html) standards (Switch with `optoins`). Deliver the next generation of JsonPath experiences.
67-
* Supports `Json Schema` validation
57+
* Provides `Json schema` construction and validation, compatible with JsonSchema draw-07, draw-2019 standards
6858
* Support some 'json5' features (keyless fields, comments, etc...)
6959
* Prefer no-argument constructors + field codec (reduces the risk of triggering actions by injection)
7060

README_CN.md

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<h1 align="center" style="text-align:center;">
2-
Snack
2+
SnackJson
33
</h1>
44
<p align="center">
55
<strong>一个 Json 框架,支持 JsonDom、JsonPath、JsonSchema(for Java)</strong>
@@ -50,21 +50,11 @@
5050

5151
<hr />
5252

53-
基于jdk8。支持:Json Dom 的构建、编码解转换、获取、JsonPath 查询、JsonSchema 验证
53+
SnackJson 借鉴了 `Javascript` 所有变量由 `var` 申明,及 `Xml dom` 一切都是 `Node` 的设计。其下一切数据都以`ONode`表示,`ONode`也即 `One node` 之意,代表任何类型,也可以转换为任何类型
5454

55-
```xml
56-
<dependency>
57-
<groupId>org.noear</groupId>
58-
<artifactId>snack4-jsonpath</artifactId>
59-
<version>...</version>
60-
</dependency>
61-
```
62-
63-
Snack-Jsonpath 借鉴了 `Javascript` 所有变量由 `var` 申明,及 `Xml dom` 一切都是 `Node` 的设计。其下一切数据都以`ONode`表示,`ONode`也即 `One node` 之意,代表任何类型,也可以转换为任何类型。
64-
65-
* 强调文档树的构建和操控能力
66-
* 高性能`Json path`查询(比 jayway.jsonpath 快很多),同时兼容 `jayway.jsonpath`[IETF JSONPath (RFC 9535) 标准](https://www.rfc-editor.org/rfc/rfc9535.html) (用 `options` 切换)。提供新一代 JsonPath 体验。
67-
* 支持 `Json schema` 架构校验
55+
* 强调 `Json dom` 的构建和操控能力
56+
* 可以 `Json path` 高性能查询(比 jayway.jsonpath 快很多),同时兼容 `jayway.jsonpath`[IETF JSONPath (RFC 9535) 标准](https://www.rfc-editor.org/rfc/rfc9535.html) (用 `options` 切换)。提供新一代 JsonPath 体验。
57+
* 提供 `Json schema` 构建与校验,兼容 JsonSchema draft-07、draft-2019 标准
6858
* 支持 `json5` 部分特性(无键字段,注释,等...)
6959
* 优先使用 无参构造函数 + 字段 编解码(可减少注入而触发动作的风险)
7060

0 commit comments

Comments
 (0)