Hi guys,
I’ve searched the forum and not found anything exactly like this…
In the following example, I cannot return an object from the function, but I can return a list. 
https://x.thunkable.com/copy/2d4bd61f771a1bef5e3b9dce187058f6 
Is this a bug?  It seems like a bug.  (I’ll be happy to report it, but I just want to check first.)
Thanks!
             
            
               
               
               
            
            
           
          
            
            
              Screenshot for anyone who doesn’t want to open the project…
             
            
               
               
               
            
            
           
          
            
              
                actech  
                
               
                 
              
                  
                    November 25, 2019,  5:07pm
                   
                   
              3 
               
             
            
              Directly can’t, but through a variable
or this
or
             
            
               
               
               
            
            
           
          
            
            
              Thanks for the workaround @actech , but I still think it’s a bug. 
             
            
               
               
               
            
            
           
          
            
              
                actech  
                
               
              
                  
                    November 26, 2019,  9:46am
                   
                   
              5 
               
             
            
              I agree. You can write to developers about this bug - https://github.com/thunkable/thunkable-issues/issues 
             
            
               
               
               
            
            
           
          
            
              
                Mark  
                
               
              
                  
                    November 26, 2019,  6:17pm
                   
                   
              6 
               
             
            
              BTW, The bug looks to be slightly more complicated than just returning an object from a function.  For example, in your repro app if you just have your function return 'get object from JSON [from Text_Input1 get Text]', then it will work correctly.
-Mark
             
            
               
               
              1 Like 
            
            
           
          
            
            
              
Thanks for looking into it Mark!
             
            
               
               
              1 Like