This function extracts the text element of a json output file generated by Google Document AI.

text_from_dai_file(file)

Arguments

file

filepath of a json file from DAI

Value

a string.

Examples

if (FALSE) { text <- text_from_dai_file("output.json") }