Table of Contents

Class Json5CountryConverter

Namespace
Core.Loaders
Assembly
Core.dll

Converts JSON5 country files to burst-compatible structs Phase 1 of the hybrid JSON5 + Burst architecture for countries

public static class Json5CountryConverter
Inheritance
object
Json5CountryConverter

Methods

LoadCountryJson5Files(string, Dictionary<string, string>)

Load all country JSON5 files and convert to burst-compatible structs

public static Json5CountryLoadResult LoadCountryJson5Files(string countriesDirectory, Dictionary<string, string> tagMapping = null)

Parameters

countriesDirectory string

Directory containing country JSON5 files

tagMapping Dictionary<string, string>

Optional mapping of filenames to country tags from 00_countries.txt

Returns

Json5CountryLoadResult