| Quintiq file version 2.0 | 
| #parent: #root | 
| Method GetFileStringData ( | 
|   String jsonstring | 
| ) as String id:Method_ApplicationMacroPlanner_GetFileStringData | 
| { | 
|   #keys: '[139394.0.1418121157]' | 
|   Body: | 
|   [* | 
|     // Get file method, that will return file body  | 
|     // we have this method because getfile now returns | 
|     // in json string, so we have this method for parsing | 
|     // and return  | 
|     json := JSON::Parse( jsonstring ); | 
|      | 
|     data := json.Get( 'data' ).GetString(); | 
|     bd := BinaryData::FromBase64EncodedString( data ); | 
|     result := bd.ToString(); | 
|      | 
|     return result; | 
|   *] | 
| } |