Skip to content

Commit

Permalink
Releasing 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ibireme committed May 25, 2023
1 parent 5483b40 commit 09ccaa4
Show file tree
Hide file tree
Showing 56 changed files with 8,295 additions and 3,849 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
All notable changes to this project will be documented in this file.


## Unreleased
## 0.7.0 (2023-05-25)
#### Added
- Add `YYJSON_WRITE_PRETTY_TWO_SPACES` option to allow 2 spaces instead of 4 spaces when writing pretty JSON: #99
- Add `YYJSON_READ_BIGNUM_AS_RAW` option to read big numbers as raw strings: #124
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# https://github.com/ibireme/yyjson/blob/master/LICENSE

cmake_minimum_required(VERSION 3.5)
project(yyjson VERSION 0.6.0)
project(yyjson VERSION 0.7.0)



Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ A high performance JSON library written in ANSI C.
# Features
- **Fast**: can read or write gigabytes per second JSON data on modern CPUs.
- **Portable**: complies with ANSI C (C89) for cross-platform compatibility.
- **Strict**: strictly complies with [RFC 8259](https://datatracker.ietf.org/doc/html/rfc8259) JSON standard, ensuring strict number format and UTF-8 validation.
- **Strict**: complies with [RFC 8259](https://datatracker.ietf.org/doc/html/rfc8259) JSON standard, ensuring strict number format and UTF-8 validation.
- **Extendable**: offers options to allow comments, trailing commas, NaN/Inf, and custom memory allocator.
- **Accuracy**: can accurately read and write `int64`, `uint64`, and `double` numbers.
- **Flexible**: supports unlimited JSON nesting levels, `\u0000` characters, and non null-terminated strings.
- **Manipulation**: supports querying and modifying using [JSON Pointer](https://datatracker.ietf.org/doc/html/rfc6901), as well as [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) and [JSON Merge Patch](https://datatracker.ietf.org/doc/html/rfc7386).
- **Manipulation**: supports querying and modifying using [JSON Pointer](https://datatracker.ietf.org/doc/html/rfc6901), [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) and [JSON Merge Patch](https://datatracker.ietf.org/doc/html/rfc7386).
- **Developer-Friendly**: easy integration with only one `h` and one `c` file.

# Limitations
Expand Down
21 changes: 12 additions & 9 deletions doc/doxygen/html/annotated.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.6.0</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.7.0</span>
</div>
<div id="projectbrief">A high performance C JSON library.</div>
</td>
Expand Down Expand Up @@ -106,14 +106,17 @@
<tr id="row_5_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="yyjson_8h.html#structyyjson__mut__obj__iter" target="_self">yyjson_mut_obj_iter</a></td><td class="desc"></td></tr>
<tr id="row_6_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="yyjson_8h.html#structyyjson__mut__val" target="_self">yyjson_mut_val</a></td><td class="desc"></td></tr>
<tr id="row_7_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="yyjson_8h.html#structyyjson__obj__iter" target="_self">yyjson_obj_iter</a></td><td class="desc"></td></tr>
<tr id="row_8_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="yyjson_8h.html#structyyjson__read__err" target="_self">yyjson_read_err</a></td><td class="desc"></td></tr>
<tr id="row_9_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="yyjson_8h.html#structyyjson__str__chunk" target="_self">yyjson_str_chunk</a></td><td class="desc"></td></tr>
<tr id="row_10_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="yyjson_8h.html#structyyjson__str__pool" target="_self">yyjson_str_pool</a></td><td class="desc"></td></tr>
<tr id="row_11_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="yyjson_8h.html#structyyjson__val" target="_self">yyjson_val</a></td><td class="desc"></td></tr>
<tr id="row_12_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="yyjson_8h.html#structyyjson__val__chunk" target="_self">yyjson_val_chunk</a></td><td class="desc"></td></tr>
<tr id="row_13_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="yyjson_8h.html#structyyjson__val__pool" target="_self">yyjson_val_pool</a></td><td class="desc"></td></tr>
<tr id="row_14_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="yyjson_8h.html#unionyyjson__val__uni" target="_self">yyjson_val_uni</a></td><td class="desc"></td></tr>
<tr id="row_15_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="yyjson_8h.html#structyyjson__write__err" target="_self">yyjson_write_err</a></td><td class="desc"></td></tr>
<tr id="row_8_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="yyjson_8h.html#structyyjson__patch__err" target="_self">yyjson_patch_err</a></td><td class="desc"></td></tr>
<tr id="row_9_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="yyjson_8h.html#structyyjson__ptr__ctx" target="_self">yyjson_ptr_ctx</a></td><td class="desc"></td></tr>
<tr id="row_10_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="yyjson_8h.html#structyyjson__ptr__err" target="_self">yyjson_ptr_err</a></td><td class="desc"></td></tr>
<tr id="row_11_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="yyjson_8h.html#structyyjson__read__err" target="_self">yyjson_read_err</a></td><td class="desc"></td></tr>
<tr id="row_12_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="yyjson_8h.html#structyyjson__str__chunk" target="_self">yyjson_str_chunk</a></td><td class="desc"></td></tr>
<tr id="row_13_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="yyjson_8h.html#structyyjson__str__pool" target="_self">yyjson_str_pool</a></td><td class="desc"></td></tr>
<tr id="row_14_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="yyjson_8h.html#structyyjson__val" target="_self">yyjson_val</a></td><td class="desc"></td></tr>
<tr id="row_15_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="yyjson_8h.html#structyyjson__val__chunk" target="_self">yyjson_val_chunk</a></td><td class="desc"></td></tr>
<tr id="row_16_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="yyjson_8h.html#structyyjson__val__pool" target="_self">yyjson_val_pool</a></td><td class="desc"></td></tr>
<tr id="row_17_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="yyjson_8h.html#unionyyjson__val__uni" target="_self">yyjson_val_uni</a></td><td class="desc"></td></tr>
<tr id="row_18_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="yyjson_8h.html#structyyjson__write__err" target="_self">yyjson_write_err</a></td><td class="desc"></td></tr>
</table>
</div><!-- directory -->
</div><!-- contents -->
Expand Down
3 changes: 3 additions & 0 deletions doc/doxygen/html/annotated_dup.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ var annotated_dup =
[ "yyjson_mut_obj_iter", "yyjson_8h.html#structyyjson__mut__obj__iter", "yyjson_8h_structyyjson__mut__obj__iter" ],
[ "yyjson_mut_val", "yyjson_8h.html#structyyjson__mut__val", "yyjson_8h_structyyjson__mut__val" ],
[ "yyjson_obj_iter", "yyjson_8h.html#structyyjson__obj__iter", "yyjson_8h_structyyjson__obj__iter" ],
[ "yyjson_patch_err", "yyjson_8h.html#structyyjson__patch__err", "yyjson_8h_structyyjson__patch__err" ],
[ "yyjson_ptr_ctx", "yyjson_8h.html#structyyjson__ptr__ctx", "yyjson_8h_structyyjson__ptr__ctx" ],
[ "yyjson_ptr_err", "yyjson_8h.html#structyyjson__ptr__err", "yyjson_8h_structyyjson__ptr__err" ],
[ "yyjson_read_err", "yyjson_8h.html#structyyjson__read__err", "yyjson_8h_structyyjson__read__err" ],
[ "yyjson_str_chunk", "yyjson_8h.html#structyyjson__str__chunk", null ],
[ "yyjson_str_pool", "yyjson_8h.html#structyyjson__str__pool", null ],
Expand Down
4 changes: 2 additions & 2 deletions doc/doxygen/html/classes.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.6.0</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.7.0</span>
</div>
<div id="projectbrief">A high performance C JSON library.</div>
</td>
Expand Down Expand Up @@ -100,7 +100,7 @@
<div class="classindex">
<dl class="classindex even">
<dt class="alphachar"><a id="letter_Y" name="letter_Y">Y</a></dt>
<dd><a class="el" href="structyyjson__alc.html">yyjson_alc</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__arr__iter">yyjson_arr_iter</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__doc">yyjson_doc</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__mut__arr__iter">yyjson_mut_arr_iter</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__mut__doc">yyjson_mut_doc</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__mut__obj__iter">yyjson_mut_obj_iter</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__mut__val">yyjson_mut_val</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__obj__iter">yyjson_obj_iter</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__read__err">yyjson_read_err</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__str__chunk">yyjson_str_chunk</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__str__pool">yyjson_str_pool</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__val">yyjson_val</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__val__chunk">yyjson_val_chunk</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__val__pool">yyjson_val_pool</a></dd><dd><a class="el" href="yyjson_8h.html#unionyyjson__val__uni">yyjson_val_uni</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__write__err">yyjson_write_err</a></dd></dl>
<dd><a class="el" href="structyyjson__alc.html">yyjson_alc</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__arr__iter">yyjson_arr_iter</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__doc">yyjson_doc</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__mut__arr__iter">yyjson_mut_arr_iter</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__mut__doc">yyjson_mut_doc</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__mut__obj__iter">yyjson_mut_obj_iter</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__mut__val">yyjson_mut_val</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__obj__iter">yyjson_obj_iter</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__patch__err">yyjson_patch_err</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__ptr__ctx">yyjson_ptr_ctx</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__ptr__err">yyjson_ptr_err</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__read__err">yyjson_read_err</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__str__chunk">yyjson_str_chunk</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__str__pool">yyjson_str_pool</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__val">yyjson_val</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__val__chunk">yyjson_val_chunk</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__val__pool">yyjson_val_pool</a></dd><dd><a class="el" href="yyjson_8h.html#unionyyjson__val__uni">yyjson_val_uni</a></dd><dd><a class="el" href="yyjson_8h.html#structyyjson__write__err">yyjson_write_err</a></dd></dl>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
Expand Down
Loading

0 comments on commit 09ccaa4

Please sign in to comment.