getJson() public static method

Gets Json String of Object TemplateData
public static getJson ( ) : string
return string
Example #1
0
 /**
  * Gets Json String of Object Template
  * @return string
  */
 public static function getJson()
 {
     return '{"template_id":"TestSample","name":"TestSample","default":true,"template_data":' . TemplateDataTest::getJson() . ',"settings":' . TemplateSettingsTest::getJson() . ',"unit_of_measure":"TestSample","custom":true}';
 }