Skip to content

Instantly share code, notes, and snippets.

@toshiyukihina
Created November 22, 2013 04:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toshiyukihina/7594989 to your computer and use it in GitHub Desktop.
Save toshiyukihina/7594989 to your computer and use it in GitHub Desktop.
typical model descriptor
"MyModel" : {
"array" : true,
"shared" : false,
"attributes" : {
"my16bitIntField" : {"type" : "int16"},
"my32BitIntField" : {"type" : "int32"},
"my64BitIntField" : {
"type" : "int64",
},
"myBooleanField" : {"type" : "boolean"},
"mySingleFloatField" : {"type" : "float"},
"myDoubleFloatField" : {"type" : "double"},
"myStringField" : {"type" : "string"},
"myBinaryField" : {"type" : "binary"},
"myResourceField" : {"type" : "resource"},
},
"commands" : {
"myCommandName" : {"paramType" : "string"}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment