Reads JSON and reconstructs matrix columns from coordinate arrays. Automatically detects and applies column metadata if present.
Examples
if (FALSE) { # \dontrun{
# From file
bot2 <- from_json("bot.json")
# From string
json_str <- to_json(bot)
bot3 <- from_json(text = json_str)
} # }
