Skip to content

[feature request] support for bit64::integer64 #17

@dselivanov

Description

@dselivanov

Hi Alex. Would it be possible to add serialization of integer64 from bit64 package?

rjson::toJSON(list(bit64::as.integer64(111)))
#"[5.48412866883784e-322]"

bit64 pkg uses R's double vectors to keep 64 bit integers (so essentially it is numeric vector with class = "integer64" attribute). Underlying memory layout is the same as C/C++ int64_t.

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