So I am trying to save NumberSequenceKeypoint values as strings using JSONEncode and then using this code to load it back:

NumberSequence.new(http:JSONDecode( 'JSON Goes Here' ))

with JSON:

JSON = '[{"Envelope":0,"Time":0,"Value":0},{"Envelope":0,"Time":1,"Value":0.88888883590698242}]'

with error:

  • NumberSequence ctor: expected 'NumberSequenceKeypoint' at index 1

If anyone can help, that would be great.

Sincerely, Darkness246810