generate_from_file

Macro generate_from_file 

Source
generate_from_file!() { /* proc-macro */ }
Expand description

Generate schema objects based on JSON loaded from a file, but is otherwise identical to generate_from_string!.

Note that the path passed here must be relative to the Cargo project root, or else this will not work.