readVanillaJson

inline fun <V> readVanillaJson(path: ResourcePath<ResourceType.JsonFile>, json: Json = Json): V?

Deserializes the JSON content of the file under path in the vanilla minecraft assets to V using json, or returns null if the file does not exist.