Creates a curve from a JSON object, e. g. created by toJSON.
toJSON
The JSON object containing this curve data.
The created curve instance.