UnitConvertor.loadFromJson

Deserializes unit conversion rules from JSON

More...
class UnitConvertor
void
loadFromJson
(
JSONValue json
)

Parameters

json JSONValue

JSON object for deserialization

Detailed Description

Note that this function does not clear the existing conversion allowing you to override or augment conversion rules from a number of different files, let's say, built-in conversions and user conversions`

Meta