Loading Data from JSON

The loadStruct() method loads the ribbon data from a JSON file. When the data is loaded into the object, a user-defined handler is called (onLoadFunction), if it was indicated by user.
All the data is loaded at once: