Generates a curve from a JSON object.
The JSON object containing this curve data.
The curve generated from the JSON object.