Skip to content

Export deserialize_json at the C++ level in addition to R #80

@eddelbuettel

Description

@eddelbuettel

As seen in #79 there is interest in hitting the deserialize_json() workhorse function directly. (It was also seen that exporting it at the R level brings neglible gains while adding a documentation / test / maintenance burden -- fparse() is still the recommended venue.)

However we can make it available at the C level and the (currently new) branch feature/export_c_level does this. To use it, please

  • add a LinkingTo: directive in the client package, and include the header RcppSimdJson.h to access _deserialize_json()
  • add an Imports: and import any R symbol (to force instantiation so that R becomes aware of the C-callable symbol.

That should do the trick. @shikokuchuo let us know if this works for you. We could help with a more explicit example if need be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions