Results 1 to 4 of 4

Thread: getJSON() for sections returns a JSON string without the outerleftmost '{'

  1. #1

    getJSON() for sections returns a JSON string without the outerleftmost '{'

    The Lianja.get('page1.section1').getJSON() function returns a JSON string without the outerleftmost '{' bracket.

    To reproduce,
    1. Create a new app (scripting language set to Javascript).
    2. Create a new section by dragging southwind.employees table to empty space.
    3. Create a footer menu with button
    Name:  Screenshot 2014-07-24 16.59.28.jpg
Views: 137
Size:  87.9 KB
    4. Create a custom delegate for the button
    Name:  Screenshot 2014-07-24 16.59.36.jpg
Views: 121
Size:  87.4 KB
    5. Write custom delegate to print out Lianja.get('page1.section1').getJSON();
    Name:  Screenshot 2014-07-24 17.01.04.jpg
Views: 76
Size:  59.9 KB
    6. Console output shows one less '{'
    Name:  Screenshot 2014-07-24 17.01.26.jpg
Views: 122
Size:  56.5 KB

    Warmest regards,
    Dandy Ling

  2. #2
    Lianja Support Team lianjasupport's Avatar
    Join Date
    Feb 2012
    Location
    Boston USA, Wokingham UK
    Posts
    1,259
    Hi Dandy,

    ok I will fix that up prior to the v1.1.7 general release.

  3. #3
    Great thanks, Barry

  4. #4
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,170
    Blog Entries
    22
    This is now fixed in the v1.1.7Beta8
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us