Skip to content

Commit

Permalink
version bump and NEWS update
Browse files Browse the repository at this point in the history
- update src/flatten to avoid cpp11/declarations.hpp (issue 3)
  • Loading branch information
mtmorgan committed Mar 21, 2024
1 parent cc217fb commit 322da04
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: rjsoncons
Title: 'C++' Header-Only 'jsoncons' Library for 'JSON' Queries
Version: 1.2.0.9702
Version: 1.2.0.9703
Authors@R: c(
person(
"Martin", "Morgan", role = c("aut", "cre"),
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# rjsoncons 1.3.0

- (1.2.0.9702) add key and value search with `j_flatten()`, `j_find_*()`
- (1.2.0.9703) add key and value search with `j_flatten()`, `j_find_*()`
- (1.2.0.9602) compile on Ubuntu 18.04
<https://github.com/mtmorgan/rjsoncons/issues/3>
- (1.2.0.9503) add JSON patch support with `j_patch_apply()`,
Expand Down
4 changes: 3 additions & 1 deletion src/flatten.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#include <jsoncons/json.hpp>
#include <jsoncons_ext/jsonpointer/jsonpointer.hpp>

#include <cpp11/declarations.hpp>
#include "enum_index.h"
#include "rquerypivot.h"

#include <cpp11/sexp.hpp>
#include <cpp11/protect.hpp> // 'stop'

using namespace jsoncons;

[[cpp11::register]]
Expand Down

0 comments on commit 322da04

Please sign in to comment.