Corelib and JSON woes

I would like to serialize the data contained in an
ArrayCollection using JSON. Unfortunately, I keep getting a stack
overflow error when I try and JSON.encode() an array. I tried using
the ArrayCollection.toArray() and I tried just creating a simple
array of objects. I can't seem to get it to work.
If I do this: JSON.encode({prop1:"hello", prop2:"hello"}); it
works just fine.
What am I doing wrong? Anyone know?
BTW, I'm not entirely sure I linked the library up correctly.
I couldn't find any great examples. What I did was add
<path-element>../corelib/bin</path-element> to my
flex-config.xml file and added import
com.adobe.serialization.json.JSON; to my script.
PS. I don't have Flex Builder. I'm using the command line
compiler.

It turns out that it was a problem with my array. I was
looping through an XMLList to build the array.
Here is how I was building it, inside of the result event for
an HTTPService:
var xmlList:XMLList = event.result.caption;
for each ( var xml:XML in xmlList ) {
myArrayCollection.addItem({id:xml.@id, text:xml.text,
time:xml.time})
The JSON encoder was choking on the object's property types
(I'm not sure what they are, I didn't look. Maybe XML text nodes?).
By type casting the xml values, everything works fine:
var xmlList:XMLList = event.result.caption;
for each ( var xml:XML in xmlList ) {
myArrayCollection.addItem({id:String(xml.@id),
text:String(xml.text), time:String(xml.time)})
Thanks for the compiler argument. That is more flexible than
editing the configuration file.

Similar Messages

  • Developer-Online New Tutorial Released: Create a Flickr gallery using jquery and JSON

    Create a Flickr gallery using jquery and JSON
    Hello everyone, In this tutorial I'll show how is simple to build your Flickr photo gallery using jQuery framework and JSON. We'll see how to setup thumbnail's numbers, convert your RSS Flickr in a JOSOn format and display theme. Thank You for your attention!
    Posted on:                                       2010-01-11 10:20:48
    Author: patrizio Quatrini
    Best Regards
    Waleed Barakat

    Heya,
    When I first read your post I originally thought you were posting a tutorial about whether a chosen username has already been resigtered or not on the signup page like this tutorial:
    http://DwFAQ.info/signup_demo.php
    Spry Check Username Availability
    Date Created: Sunday, July 5, 2009 2:29 PM
    Then after looking at the page you've linked to and trying to understand the objective of the tutorial I've noticed that you are talking about something like this:
    http://DwFAQ.info/home.php?id=7
    Spry Search
    Date Created: Sunday, March 1, 2009 8:51 PM
    It's pretty simple to do with the link I've referenced. Simply create your database with populated tables, use the mentioned script to convert the database data into xml syntax, then enter your dynamic database script as the location of the xmlDataSet in the spry page linked.
    View source on this page which shows the non-destructive filter in action to see how it's done! You can also spice it up a little for products, etc. by using this method. The key is to create a dynamic xml syntax from your database and then use the dynamic xml script location as your xmlDataSet in the search page.
    I have an example of the auto suggest search on my homepage http://DwFAQ.info
    On the top-left side of the page click on the link that says Search Tutorials to reveal the search form. Then start typing characters into the search box to see the entries instantly filter according to the characters that are typed. You can also filter further by clicking on the category checkboxes to filter by keywords AND category.
    You can view the source code on my homepage to see the location of the dynamic xml syntax referenced as the xmlDataSet location and how it was implemented into the site.

  • Rest method that can support request/responce in both xml and json formats

    Hi,
    I want  to create rest method that can support request/responce in both xml and json formats.
    I am trying in bellow way, but its not working getting error.
    any idea on this?
    Code in IService.cs :
    [OperationContract]       
    [WebGet(UriTemplate = "/Login/{UserID}/{Password}")]
    Responce Login(string UserID, string Password);
    Code in Service.cs :
    public Responce Login(string UserID, string Password)
                try
                    objResponce = new Responce();
                    objResponce.MessageType = Responce.ResponceType.Warning.ToString();
                    string Con = GetConnectionString(UserID, Password);  //Method to check valid user or not
                    if (Con.Trim().Length != 0)            
                        objResponce.Message = "you have logged in Successfully";                   
                    else
                        objResponce.Message = "Please Enter Valid UserID,Password";                
                catch (Exception ex)
                    through ex;             
                return objResponce;
    My Config settings :
    <services>
          <service name="OnePointAPI.OnePointAPIService">
               <endpoint address="JSON" binding="webHttpBinding" contract="OnePointAPI.IOnePointAPIService" behaviorConfiguration="webJSON" ></endpoint>
               <endpoint address="XML" binding="basicHttpBinding" contract="OnePointAPI.IOnePointAPIService" behaviorConfiguration="webXML" ></endpoint>     
          </service>   
     </services>
     <behaviors>
          <serviceBehaviors>
            <behavior>
              <!-- To avoid disclosing metadata information, set the values below to false before deployment -->
              <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
              <!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information -->
              <serviceDebug includeExceptionDetailInFaults="false"/>
            </behavior>
          </serviceBehaviors>
          <endpointBehaviors>
            <behavior name="webJSON">
              <webHttp defaultOutgoingResponseFormat="Json"/>
            </behavior>
            <behavior name="webXML">
              <webHttp defaultOutgoingResponseFormat="Xml" />
            </behavior>
          </endpointBehaviors>
     </behaviors>  
    Anwar Shaik

    In several days (in the 19th) i will lecture at
    SQLSaturday #360 and my last demo (hopefully I will have the time) is
    Full implementation of JSON, I will show several function using JSON serializer and deserializer, and as mentioned full implementation including fast
    indexes on JSON column (finding specific Node in 10 million rows
    in less then a second). If you want to wait, then I will publish it latter probably, or you can come the lecture if you want :-)
    * I am using Json.NET framework, by the way.
    regarding your question, all you need is to find a nice serializer/deserializer framework (you can use
    Json.NET framework) in order to do what you are looking for (if I understand what you asked)
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • REST and JSON in OC4J?

    Hi,
    Pardon my ignorance with web technologies as I'm still starting. Just wanted to ask, is it possible to create and deploy RESTful Web Services and JSON format in OC4J?
    Thanks,
    Allen

    I think you can work that within the orion-application.xml file:
    <imported-shared-libraries>
         <remove-inherited name="oracle.xml"/>
         <import-shared-library name="xalan" />
         <import-shared-library name="xerces" />
    </imported-shared-libraries>
    Where you've defined shared-lib entries for the above.
    Reference:
    http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-swapxmlparser/doc/readme.html
    I don't know if this is handled in the same way for the version you are dealing with, however.

  • JSON.parse Response parse failed. I can not open files and JSON.parse Response parse failed. shows up it dosn't happen with I E browser

    JSON.parse Response parse failed.
    I can not open files. And JSON.parse Response parse failed. shows up.
    It doesn't happen when i use the I E browser, so I can't use firefox

    Hi
    I'm trying to make a movie from the JpegImagesToMovie class. But i get a null point exception :(
    java.lang.NullPointerException
         at com.sun.media.multiplexer.video.QuicktimeMux.writeVideoSampleDescription(QuicktimeMux.java:936)
         at com.sun.media.multiplexer.video.QuicktimeMux.writeSTSD(QuicktimeMux.java:925)
         at com.sun.media.multiplexer.video.QuicktimeMux.writeSTBL(QuicktimeMux.java:905)
         at com.sun.media.multiplexer.video.QuicktimeMux.writeMINF(QuicktimeMux.java:806)
         at com.sun.media.multiplexer.video.QuicktimeMux.writeMDIA(QuicktimeMux.java:727)
         at com.sun.media.multiplexer.video.QuicktimeMux.writeTRAK(QuicktimeMux.java:644)
         at com.sun.media.multiplexer.video.QuicktimeMux.writeMOOV(QuicktimeMux.java:582)
         at com.sun.media.multiplexer.video.QuicktimeMux.writeFooter(QuicktimeMux.java:519)
         at com.sun.media.multiplexer.BasicMux.close(BasicMux.java:142)
         at com.sun.media.BasicMuxModule.doClose(BasicMuxModule.java:172)
         at com.sun.media.PlaybackEngine.doClose(PlaybackEngine.java:872)
         at com.sun.media.BasicController.close(BasicController.java:261)
         at com.sun.media.BasicPlayer.doClose(BasicPlayer.java:229)
         at com.sun.media.BasicController.close(BasicController.java:261)
         at movieclear.MovieManager.JpegImagesToMovie.controllerUpdate(JpegImagesToMovie.java:179)
         at com.sun.media.BasicController.dispatchEvent(BasicController.java:1254)
         at com.sun.media.SendEventQueue.processEvent(BasicController.java:1286)
         at com.sun.media.util.ThreadedEventQueue.dispatchEvents(ThreadedEventQueue.java:65)
         at com.sun.media.util.ThreadedEventQueue.run(ThreadedEventQueue.java:92)
    Please please help me out.. I'm totally stuck in this thing. A MOV file is created, but it's a 0kb file.
    Please help me out..
    Sootie.

  • Spry and JSON

    pleases Help!
    I am trying to get a basic example working using spry and
    JSON and i keep getting the following errors:
    Spry.Data.HTTPSourceDataSet has no properties
    Spry.Data.HTTPSourceDataSet has no properties
    I am trying to get my json data from a cfc like this
    var dsEmployees = new
    Spry.Data.JSONDataSet("./model/CS3/Employee.cfc?method=getAllEmployees",{path:"employeeLi st"});
    What am i doing wrong?
    Thank you

    Actually it is the first java file include...
    Below is my code
    dsp_MasterDetail.cfm
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xmlns:spry="
    http://ns.adobe.com/spry/">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Untitled Document</title>
    <script language="JavaScript"
    src="./SpryAssets/SpryData.js"
    type="text/javascript"></script>
    <script language="JavaScript"
    src="./SpryAssets/SpryEffects.js"
    type="text/javascript"></script>
    <script language="JavaScript"
    src="./SpryAssets/SpryJSONDataSet.js"
    type="text/javascript"></script>
    <script language="JavaScript" type="text/javascript">
    <!--
    var dsEmployees = new
    Spry.Data.JSONDataSet("./model/CS3/Employee.cfc?method=getAllEmployees",{path:"employeeLi st"});
    //-->
    </script>
    <style type="text/css">
    <!--
    .selected {
    background-color: #0099FF;
    .hover {
    background-color: #FFFFCC;
    .even {
    background-color: #CCCCCC;
    .style1 {
    font-size: large;
    font-weight: bold;
    -->
    </style>
    </head>
    <body>
    <table border="1">
    <tr>
    <td>
    <div spry:region="dsEmployees">
    <div spry:state="loading">Loading employee data <br
    /><img src="ajax-loader.gif" /></div>
    <div spry:state="error">An error occured loading your
    dataset.</div>
    <div spry:state="ready" style="height:200px;
    width:200px;overflow:auto;">
    <table border="1" >
    <tr>
    <th spry:sort="FullName">Employee</th>
    </tr>
    <tr spry:repeat="dsEmployees" spry:setrow="dsEmployees"
    spry:hover="hover" spry:select="selected"
    onClick="MM_effectAppearFade('Detail_DIV', 1000, 0, 100,
    false)">
    <td>{FULLNAME}</td>
    </tr>
    </table>
    </div>
    </div>
    </td>
    <td valign="top">
    <div align="left" spry:region="dsEmployees"
    spry:state="ready"
    id="details"><strong>Details</strong><br
    /><hr align="left" width="75"/></div>
    <div id="Detail_DIV" spry:detailregion="dsEmployees">
    <table id="Detail_Table" border="0" width="50%">
    <tr>
    <th>NT_ID</th><td>{NT_ID}</td>
    </tr>
    <tr>
    <th>EMPLID</th><td>{EMPLID}</td>
    </tr>
    <tr>
    <th>EMAIL</th><td>{EMAIL}</td>
    </tr>
    <tr>
    <th>PHONE</th><td>{PHONE}</td>
    </tr>
    <tr>
    <th>DEPTID</th><td>{DEPTID}</td>
    </tr>
    </table>
    </div>
    </td>
    </tr>
    </table>
    </body>
    </html>
    Employee.cfc
    <cfcomponent displayName="employees" output="yes">
    <cffunction name="getAllEmployees" access="remote"
    output="yes">
    <cfset var allPersons = queryNew("FullName, NT_ID,
    EMPLID,EMAIL,PHONE,DEPTID") />
    <cfset var toXML = "" />
    <cfset var toJSON = "" />
    <cfset var xmlQuery = "" />
    <cfset var JSONQuery = "" />
    <cfquery name="allPersons" datasource="cams_dev"
    blockfactor="100">
    SET CONCAT_NULL_YIELDS_NULL Off;
    SELECT TOP 25 LAST_NAME + ', ' + FIRST_NAME AS FullName,
    NT_ID, EMPLID, EMAIL, PHONE, DEPTID
    FROM dbo.vwKscUsaPerson
    ORDER BY LAST_NAME, FIRST_NAME
    SET CONCAT_NULL_YIELDS_NULL On;
    </cfquery>
    <cfset JSONQuery =
    application.toJSON.queryToJSON(allPersons, "employees")>
    <cfsetting showdebugoutput="no">
    <cfoutput><cfcontent type="text/html"
    reset="true">#htmlcodeformat(JSONquery)#</cfoutput>
    </cffunction>
    </cfcomponent>
    this cfc returns this json code
    {"employees":[{"DEPTID":"014A420","EMAIL":"[email protected]","EMPLID":"025044","FULLNAME":"Aa dsen,
    Ronald","NT_ID":"USATX\AadsenRP","PHONE":"123
    456-7891"},{"DEPTID":"IDI-8011","EMAIL":"[email protected]","EMPLID":"KS997E7R","FULLNAME":"A aron,
    Earnestine","NT_ID":"KSCBOC\AARONED","PHONE":"123
    456-7891"},{"DEPTID":"IDI-KICS","EMAIL":"[email protected]","EMPLID":"KSANC4CD","FULLNAME":"A arts,
    Bryan","NT_ID":"ICDNET\AartsBR","PHONE":"123
    456-7891"},{"DEPTID":"0162230","EMAIL":"[email protected]","EMPLID":"011000","FULLNAME":"Abad ejos,
    Ernesto","NT_ID":"USATX\abadejea","PHONE":"123
    456-7891"},{"DEPTID":"0351480","EMAIL":"[email protected]","EMPLID":"004479","FULLNAME":"Abbe y,
    David","NT_ID":"USAFL\ABBEYDA","PHONE":"123 456-7891"}]}

  • Json rpc and json rpc cpp integration

    hi frnds,
    I am new with json rpc and json rpc cpp, all i just need a way to talk to c++ code from my servlet/jsp without using jni, i got following link by searching on google but not able to implement it, so i am looking for json rpc with json rpc cpp
    http://www.ibm.com/developerworks/webservices/library/ws-xml-rpc/
    thanks in advance
    Irfan

    Anyone ?

  • Flex and JSON

    Hi All,
    I am trying to integrate JSON with my flex application as it
    seems to be much faster than using xml via web services . . .
    Below is some sample output being returned and I'm unsure how
    to access the data in nested arrays. I'm hoping someone can help me
    with some insight into breaking up the pieces.
    Almost forgot, I'm using the corelib JSON routines to get the
    data created by darron schall . . .
    I am trying to access the data in the different columns
    within the entrydata element. . . .
    Thanks for any help you can offfer. . . .
    Here is what it looks like in the debugger with the raw text
    below . . . .
    arr = Array (@709e7b1)
    [0...99]
    [0] = Object (@7075a11)
    @noteid = "4662"
    @position = "1"
    @siblings = "114"
    @unid = "AB7A73759B12E59D8625711B007D05D0"
    entrydata = Array (@709efc9)
    [0] = Object (@7075a39)
    @columnnumber = "0"
    @name = "$18"
    number = Object (@7075a89)
    [1] = Object (@7075ab1)
    @columnnumber = "1"
    @name = "$17"
    text = Object (@7075b01)
    [2] = Object (@7075b29)
    @columnnumber = "2"
    @name = "$12"
    text = Object (@7075b79)
    [3] = Object (@7075ba1)
    [4] = Object (@7075c19)
    [5] = Object (@7075c91)
    length = 6
    "@timestamp": "20080611T145442,97Z",
    "@toplevelentries": "115",
    "viewentry": [
    "@position": "1",
    "@unid": "AB7A73759B12E59D8625711B007D05D0",
    "@noteid": "4662",
    "@siblings": "115",
    "entrydata": [
    "@columnnumber": "0",
    "@name": "$18",
    "number": {
    "0": "70"
    "@columnnumber": "1",
    "@name": "$17",
    "text": {
    "0": "8190 , Agent"
    "@columnnumber": "2",
    "@name": "$12",
    "text": {
    "0": ""
    "@columnnumber": "3",
    "@name": "CompanyName",
    "text": {
    "0": ""
    "@columnnumber": "4",
    "@name": "$16",
    "text": {
    "0": "Agent 8190/PSCDM@PSCDM"
    "@columnnumber": "5",
    "@name": "$21",
    "text": {
    "0": "notil4/pscdm"
    "@position": "2",
    "@unid": "0F8346B29E38AF048625711B007D24FC",
    "@noteid": "46A6",
    "@siblings": "115",
    "entrydata": [
    "@columnnumber": "0",
    "@name": "$18",
    "number": {
    "0": "70"
    "@columnnumber": "1",
    "@name": "$17",
    "text": {
    "0": "8191 , Agent"
    "@columnnumber": "2",
    "@name": "$12",
    "text": {
    "0": "(office) 40191"
    "@columnnumber": "3",
    "@name": "CompanyName",
    "text": {
    "0": ""
    "@columnnumber": "4",
    "@name": "$16",
    "text": {
    "0": "[email protected]@PSCDM"
    "@columnnumber": "5",
    "@name": "$21",
    "text": {
    "0": "notil4/pscdm"
    "@columnnumber": "1",
    "@name": "$17",
    "text": {
    "0": "Zapper , Zulu"
    "@columnnumber": "2",
    "@name": "$12",
    "text": {
    "0": ""
    "@columnnumber": "3",
    "@name": "CompanyName",
    "text": {
    "0": ""
    "@columnnumber": "4",
    "@name": "$16",
    "text": {
    "0": "Zulu Zapper/PSCDM@PSCDM"
    "@columnnumber": "5",
    "@name": "$21",
    "text": {
    "0": "pscextil01/PSCEXT"
    }

    Watch the Online Video Course Flex 4.5 and PHP: Creating Data-Driven Applications

  • SAP NetWeaver Gateway and JSON Error Handling

    Hello All,
    I am developing a small test application using Netweaver Gateway to understand the error handling.  I am using Postman to test the Gateway service.  I have developed small RFC FM to read return list of deliveries for a shipment.  The RFC reads in a shipment number and returns the list of deliveries.  The RFC also has Return parameter of type BAPIRET2 that stores the error message if shipment is not found.  We want to use only JSON format for the application.  So, I have set the 'Accept' parameter at request header to 'content/json'.  I am also aware of the exception /IWBEP/CX_MGW_BUSI_EXCEPTION that allows to throw an error message from backend suite.  I have that by having a Return parameter of type BAPIRET2, the generated method automatically handles the error message and sets the correct HTTP status.
    Now the Problem:
    As mentioned earlier, we want to use JSON format.  When I set the header parameter or specify $format=json in the URI the HTTP status code is always set to 500 when there is an error.  The error message about invalid shipment also is not returned.
    When I remove the JSON format parameters, the XML format is returned and HTTP status is set to 400 with appropriate error message.
    How can we get the Gateway to set the HTTP status code to 400 along with error message in the event of an error in RFC.  I have tried with the exception /IWBEP/CX_MGW_BUSI_EXCEPTION and BAPIRET2 return parameter but still does not work.  Is this a known issue in Gateway/JSON?
    Please see attached screenshots.
    Thanks,
    Rutul Thakkar

    Anyone have encountered this issue?  Any suggestions?
    Thanks,
    Rutul Thakkar

  • OData and JSON light support, When?

    Anybody knows when OData will be shipping with support for JSON light?? I'm kinda sick of those "_metadata" tags cluttering up my JSON.
    Thanks!

    Might ask them over here.
    http://social.technet.microsoft.com/Forums/en-US/home?forum=powerquery
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Brief explaination of REST,Webservices,CSON and JSON

    brief explaination of REST,Webservices,CSON and JSON

    http://www.simplecodestuffs.com/what-is-the-difference-between-http-and-rest-and-soap-in-web-services/
    SOAP uses WSDL for communication between consumer and provider, whereas REST just uses XML or JSON to send and receive data
    WSDL Defines contract between client and service and is static by its nature. In case of REST contract is somewhat complicated and is defined by HTTP, URI, Media Formats and Application Specific Coordination
    Protocol. It’s highly dynamic unlike WSDL.
    SOAP doesn’t return human readable result, while REST result is readable with is just plain XML or JSON
    This is not true. Plain XML or JSON are not RESTful at all. None of them define any controls(i.e. links and link relations, method information, encoding information etc…) which is against REST as far as messages must be self contained and coordinate interaction
    between agent/client and service.
    With links + semantic link relations clients should be able to determine what is next interaction step and follow these links and continue communication with service.
    It is not necessary that messages be human readable, it’s possible to use cryptic format and build perfectly valid REST applications. It doesn’t matter whether message is human readable or not.
    Thus, plain XML(application/xml) or JSON(application/json) are not sufficient formats for building REST applications. It’s always reasonable to use subset of these generic media types which have strong semantic meaning and offer enough control information(links
    etc…) to coordinate interactions between client and server.
    REST is over only HTTP. HTTP is most widely used and when we talk about REST web services we just assume HTTP. HTTP defines interface with it’s methods(GET, POST, PUT, DELETE, PATCH etc) and various headers
    which can be used uniformly for interacting with resources. This uniformity can be achieved with other protocols as well.
    REST permits many different data formats where as SOAP only permits XML.
    While this may seem like it adds complexity to REST because you need to handle multiple formats, in my experience it has actually been quite beneficial. JSON usually is a better fit for data and parses much faster. REST allows better support for browser clients
    due to it’€™s support for JSON.
    If this helped you resolve your issue, please mark it Answered

  • InDesign CS6 Extension and JSON

    Hi everybody
    I'm just building up an InDesign CS6 Extension and would like to use JSON. JSON should be native with Flash-Players > version 11 but if I set the Flex Compiler -> Flash Player Options to version 11.0.0 the JSON-commands still won't be recognized (I get an error while using JSON.stringify() ). I'm using the Extension Builder 4.5 SDK. Are there any options I din't set yet or is it not possible to connect to JSON natively with Extension Builder 4.5 SDK?
    Thanks for any information
    best Richard

    I would suggest to use the JSON library which is part of as3corelib:
    https://github.com/mikechambers/as3corelib
    Regards,
    pieter

  • Adobe Air and JSON

    How to get json data from another site ., for cross domain?
    Thanks

    Hi Mihnea,
    yes, i am build the apps with html
    Below is the javascript code:
    function search() {
         var search = $("#search").val()
         var surl = baseurl + escape(search) + '&callback=?'
         $.getJSON(surl, function(data) {
            alert(data);
    and data is never returned in json format
    best regards,
    Devidc

  • Using APIs with Edge (JQuery and JSON)

    Hi I am very new to APIs but I have a pretty basic understanding and I want to figure out how I could use them in Edge. I following the following tutorial and have tried to modify it for my liking: http://www.gotoandlearn.com/play.php?id=168
    Essentially, I am trying to pull in the most recent Flickr phots on Flickr.com. Check out my files in the Zip below and the URL I have been testing on:
    http://dl.dropbox.com/u/9159616/flickr-test.zip
    http://createmate.co/flickr-test/
    Thanks for your help!
    Ada,

    Hi Adam,
    So, i downloaded your project files and i tested with another flickr address.
    My test comes from: http://api.jquery.com/jQuery.getJSON/
    Using your "slide" symbol, the code tested was:
    $.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?jsoncallback=?",
                 tags: "mount rainier",
                 tagmode: "any",
                 format: "json"
               function(data) {
                 $.each(data.items, function(i,item){
                                var s = sym.createChildSymbol("slide", "Stage");
                                 s.$("photo").css({"background-image": "url('"+item.media.m+"')"});
                                 s.$("title").html(item.title);
                   if ( i == 10 ) return false;
    Your slide symbol works fine.
    Therefore, your flickr address is not correct.
    If you copy and paste your flickr address within your address bar (Safari), Flickr returns: jsonFlickrApi({"stat":"fail", "code":98, "message":"Invalid auth token"})
    You can look at this tutorial: http://net.tutsplus.com/tutorials/javascript-ajax/the-ultimate-guide-to-decoding-the-flick r-api/

  • Is there a built in odata JSON parser and JSON builder in XS?

    Hi all,
    Is there any build in oData JSON parser and builder in XS?
    Regards,
    Mohan

    Hi Mohan,
    yes. in XS we have JSON parser available .
    use JSON.parse(string) => returns the JSON object,
    JSON.stringify(JSON Object) => Returns Stringified JSON object
    Sreehari

Maybe you are looking for

  • My playlist no longer exist

    Last night I was downloading new songs for my ipod mini and i connected it to my computer to transfer the songs but when i checked the ipod there was no songs, not even one. I dont know what happened! and the message says that my playlist no longer e

  • How to make a list of commands

    Hi, I am making a VI to control a pump. I can communicate now with the pump ( thanks to you guys) but my promotor wants an easy acces list of commands to use on the front panel. For example RV00000900 is a command that is send to the pump an agrees w

  • Error occurred completing a transaction

    Hello people, Im using LCDS 3.1 with flash builder 4.5 and model driven development plugin. im getting this error everytime i Delete an item(record). Nothing happens when i Add (create), update items, everything works fine but when i Delete then i ge

  • Problems in Guided procedures

    hi iam creating a workflow in GP using webdynpro for java as a callable object. Here i am facing the following three problems 1.how to initialize a process which is not initiated from a webdynpro application. 2.how to send an action to multiple users

  • How to make small text and move it down ?

    hi, how can I move text down and little like in this picture using Pages ? http://dl.getdropbox.com/u/72686/below.png I don't know how to define it in english, sorry... how do you define it ? thanks