Reads one local JSON file, the one you name, within the format's input limits. URLs and wildcards are not expanded. The checked result includes its family and face kits; keep the source file too if you want to edit the character later.
Details
File problems inherit mascot_error_file and mascot_error, with
the exact supplied path, operation = "read" and a stable code.
Content and argument diagnostics are described in mascot_check_character().
See also
Other mascot helpers:
mascot_action(),
mascot_anchors(),
mascot_bubble(),
mascot_character(),
mascot_characters(),
mascot_check_character(),
mascot_colour_roles(),
mascot_families(),
mascot_gesture(),
mascot_gestures(),
mascot_mood(),
mascot_moods(),
mascot_motion_settings(),
mascot_palettes(),
mascot_placement(),
mascot_popup_menu(),
mascot_preview(),
mascot_size(),
mascot_status(),
mascot_theme()
Experimental
Experimental Its arguments, results and diagnostics may change in a later release.
Examples
path <- system.file("examples", "characters", "study_bot.json", package = "mascot")
bot <- mascot_read_character(path)
