Pith. sign in

REVIEW 3 cited by

The jsonlite Package: A Practical and Consistent Mapping Between JSON Data and R Objects

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 1403.2805 v1 pith:SJWB4K2M submitted 2014-03-12 stat.CO cs.MScs.SE

The jsonlite Package: A Practical and Consistent Mapping Between JSON Data and R Objects

classification stat.CO cs.MScs.SE
keywords jsondatalistmappingstructurescasesevenimplementations
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved
0 comments
Share X Bluesky LinkedIn Reddit HN
read the original abstract

A naive realization of JSON data in R maps JSON arrays to an unnamed list, and JSON objects to a named list. However, in practice a list is an awkward, inefficient type to store and manipulate data. Most statistical applications work with (homogeneous) vectors, matrices or data frames. Therefore JSON packages in R typically define certain special cases of JSON structures which map to simpler R types. Currently there exist no formal guidelines, or even consensus between implementations on how R data should be represented in JSON. Furthermore, upon closer inspection, even the most basic data structures in R actually do not perfectly map to their JSON counterparts and leave some ambiguity for edge cases. These problems have resulted in different behavior between implementations and can lead to unexpected output. This paper explicitly describes a mapping between R classes and JSON data, highlights potential problems, and proposes conventions that generalize the mapping to cover all common structures. We emphasize the importance of type consistency when using JSON to exchange dynamic data, and illustrate using examples and anecdotes. The jsonlite R package is used throughout the paper as a reference implementation.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Visual Decoding Operators: Towards a Compositional Theory of Visualization Perception

    cs.HC 2026-04 conditional novelty 7.5

    Composable visual decoding operators measured on PDF/CDF tasks predict bias and variance of scatterplot mean estimation under a pre-registered project-twice mean strategy with no parameters fit to the target data.

  2. Implicit reporting standards in bibliometric research: what can reviewers' comments tell us about reporting completeness?

    cs.DL 2025-08 conditional novelty 6.0

    Peer review comments on bibliometric studies were systematically classified, yielding 49 recommendations that overlap partially with three existing reporting guidelines.

  3. Automated Residual Plot Assessment With the R Package autovi and the Shiny Application autovi.web

    stat.ML 2026-06 unverdicted novelty 5.0

    An R package uses computer vision to predict visual signal strength for automating residual plot assessment in linear model diagnostics.