It takes a JSON object and a lookup table, and returns a new JSON object with the keys in the lookup table replaced with their corresponding values
The data to be translated.
The table of replacements.
A function that takes two arguments, data and table, and returns a new object.
Generated using TypeDoc
It takes a JSON object and a lookup table, and returns a new JSON object with the keys in the lookup table replaced with their corresponding values