Expand description
Reading RON assets with file:line:col errors. As a format (ADR-0007),
Ron reads any kind that serde reads: a game’s own data tables.
Structs§
- Ron
- A RON file of a kind serde reads (
ron,.ron, unlessRon::namedsays), read asparse_ronsays: a game’s data table, say, whose own checks run after.
Functions§
- load_
ron - Loads and deserializes the RON file at
pathinbundle. - parse_
ron - Deserializes RON
source; errors are attributed tofile(a human-facing path) with RON’s 1-based line and column. - parse_
ron_ implicit_ some - Like
parse_ron, with RON’simplicit_someon: an optional field is written as its value, not inSome(…). - parse_
ron_ seed - Like
parse_ron, reading withseed: for a value whose shape is known only at run time.