An open source Category Plugin for the AWS Amplify-CLI that makes it easy to deploy live and file based streaming video services and integrate them into your Amplify applications.
Describe the bug
When parsing a json of a vodAsset using the .fromJson method, the video object is lost and the resulting model instance has video = null.
There doesn't seem to be a 'serializedData' level to the json file as indicated in the constructor (?) that parses the json object (VodAsset.fromJson on line 127 of the model file)
Describe the bug When parsing a json of a vodAsset using the .fromJson method, the video object is lost and the resulting model instance has video = null.
There doesn't seem to be a 'serializedData' level to the json file as indicated in the constructor (?) that parses the json object (VodAsset.fromJson on line 127 of the model file)
This does not work:
This does work:
To Reproduce Steps to reproduce the behavior:
var data = response.data;
var decodedData = jsonDecode(data);
vodAsset = VodAsset.fromJson(decodedData['getVodAsset']);
Expected behavior Video object should not be null.
Screenshots n/a
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context This did not used to happen.