JSON Curve Definition
From Virtual World Web Wiki
The following is an example of some JSON which defines a DOMCurve. This JSON is produced by DOMCurve.ToJson() and is required by DOMObject.CreateCurveFromJson() both of which are described on the Server Scripting page.
{ "Title" : "Curve name", "Keyframes" : [ { "Title" : "Keyframe name", "Time" : 0.0, "Values" : [ { "Name" : "PropertyName", "Easing" : 0, // 0=Linear, 1=EaseOut, 2=EaseIn, 3=Exponential, 4=Smooth, 5=Smoother // One of these (and only one) needs to exist "IntValue" : 0, "FloatValue" : 0.0, "StringValue" : "Something", "BooleanValue" : false, "ResourceValue" : "00000000-0000-0000-0000-000000000000", // A ResourceID "ColorValue" : [255,255,255,255], // R,G,B,A "PointValue" : [0.0,0.0,0.0], // X,Y,Z }, ] }, ] }