Given some a (normalized) JSON representation of a unit,
creates an instance of the corresponding unit.AbstractUnit sub class (structural/model)
and populates that from the JSON.
Should only be called if this unit was not already in memory.
Given some a (normalized) JSON representation of a model element,
creates an instance of the corresponding elements.Element
and populates that from the JSON.
Will update existing elements if this element was created before.
Given some a (normalized) JSON representation of a unit, creates an instance of the corresponding
unit.AbstractUnit
sub class (structural/model) and populates that from the JSON. Should only be called if this unit was not already in memory.