diff_yaml_json: Create diff between two lists to be used in the...

View source: R/diff_yaml_json.R

diff_yaml_jsonR Documentation

Create diff between two lists to be used in the 'plantuml_yaml()' and 'plantuml_json()' as preamble to highlight the differences.

Description

This function requires that the names of 'x' and 'y' are identical and in the same order. Any deviation from this will very likely result in strange error messages. The format follows the **0Highlight parts** on [https://plantuml.com/yaml](https://plantuml.com/yaml).

Usage

diff_yaml_json(x, y)

Arguments

x

list basde on yaml or json file to be compared. See the details zection for further info.

y

list based on yaml or json file to be compared. See the details zection for further info.

Value

'character' vector to be used as preamble for the 'plot_yaml()' and 'plantuml_json()' functions (or 'plantuml_file()' in case of a f=json or yaml file..


rkrug/plantuml documentation built on June 3, 2023, 6:24 a.m.