Skip to contents

This helper converts the output of buildTrioSubmission() into the nested list structure used by the JSON payload in the prototype submission script.

Usage

buildTrioSubmissionPayload(submission)

Arguments

submission

A submission object returned by buildTrioSubmission().

Value

A named list with a top-level payload entry ready for jsonlite::toJSON(..., auto_unbox = TRUE).