jsondiff: JSON differences

Description Usage Arguments

Description

Display differences between two JSONs

Usage

1
2
3
jsondiff(x1, x2, hide_unchanged = TRUE, json_opt = NULL,
  formatter = "html", object_hash = NULL, width = NULL, height = NULL,
  elementId = NULL)

Arguments

x1

JSON string or list object

x2

JSON string or list object

hide_unchanged

(optional) if FALSE, unchanged elements are displayed.

json_opt

(optional) options for converting to JSON (use json_options to construct an object for options)

formatter

(optional) "html" or "annotated"

object_hash

(optional) a function for matching objects in an array

width

Fixed width for widget (in css units). The default is NULL, which results in intelligent automatic sizing based on the widget's container.

height

Fixed height for widget (in css units). The default is NULL, which results in intelligent automatic sizing based on the widget's container.

elementId

element id


bergant/jsondiff documentation built on May 22, 2019, 12:37 p.m.