search for: myjson

Displaying 12 results from an estimated 12 matches for "myjson".

2010 Feb 23
1
how a js script can get the current locale from my rails app ?
I am not very fluent in JS, so I don''t see how to transfer the rails app current locale .. I have a JS script able to detect the default browser language .. running fine I can also modify the JS language, passing a global var .. // Create a JSON Object var myJSON = { "lang": "fr" }; // Pass it to the script immediately... datePickerController.setGlobalVars(myJSON); and it runs ... but I would like this script to use the language selected by the rails app user : the I18n.default_locale being modified in the rails app any clue ?...
2008 May 24
5
TypeError : transport.responseText has no properties
Hello all, I''m using prototype in conjunction with Extjs to build out an Ajax- driven app. I''m noticing that occasionally there will be Ajax Requests that will occasionally not complete. After some investigation, I found that when I made a call to String#evalJSON, it would throw a TypeError with the following message : transport.responseText has no properties. When this
2018 May 08
0
help with json data from the web into data frame in R
...data from is ?https? and there is a certificate warning that I have to click through from a browser. That might be my issue. Is there any way in the json package to tell it to ignore self-signed cert errors in a url? I didn't have that issue when using the link you offered: library(jsonlite) myJSON <- fromJSON( url("https://www.semantic-mediawiki.org/w/api.php?action=ask&query=%5B%5BCategory:City%5D%5D&format=json") ) # results in a complex list (not trivially reducible to a dataframe: str(myJSON) List of 1 $ query:List of 5 ..$ printrequests:'data.frame': 1...
2018 May 08
3
help with json data from the web into data frame in R
...data from is ?https? and there is a certificate warning that I have to click through from a browser. That might be my issue. Is there any way in the json package to tell it to ignore self-signed cert errors in a url? I didn't have that issue when using the link you offered: library(jsonlite) myJSON <- fromJSON( url("https://www.semantic-mediawiki.org/w/api.php?action=ask&query=%5B%5BCategory:City%5D%5D&format=json") ) # results in a complex list (not trivially reducible to a dataframe: str(myJSON) List of 1 $ query:List of 5 ..$ printrequests:'data.frame': 1...
2018 May 08
2
help with json data from the web into data frame in R
I?ve been tinkering and discovered that the link I need to read json data from is ?https? and there is a certificate warning that I have to click through from a browser. That might be my issue. Is there any way in the json package to tell it to ignore self-signed cert errors in a url? -Rich From: Eric Berger [mailto:ericjberger at gmail.com] Sent: Tuesday, May 08, 2018 11:31 AM To: Evans,
2018 May 08
0
help with json data from the web into data frame in R
...data from is ?https? and there is a certificate warning that I have to click through from a browser. That might be my issue. Is there any way in the json package to tell it to ignore self-signed cert errors in a url? I didn't have that issue when using the link you offered: library(jsonlite) myJSON <- fromJSON( url("https://www.semantic-mediawiki.org/w/api.php?action=ask&query=%5B%5BCategory:City%5D%5D&format=json") ) # results in a complex list (not trivially reducible to a dataframe: str(myJSON) List of 1 $ query:List of 5 ..$ printrequests:'data.frame': 1...
2018 May 08
3
help with json data from the web into data frame in R
...there is a certificate warning that I have to click through from a browser. That might be my issue. Is there any way in the json package to tell it to ignore self-signed cert errors in a url? > > I didn't have that issue when using the link you offered: > > library(jsonlite) > myJSON <- fromJSON( url("https://www.semantic-mediawiki.org/w/api.php?action=ask&query=%5B%5BCategory:City%5D%5D&format=json") ) > > # results in a complex list (not trivially reducible to a dataframe: > > str(myJSON) > List of 1 > $ query:List of 5 > ..$ print...
2018 May 09
1
help with json data from the web into data frame in R
...? and there is a certificate warning that I have to click through from a browser. That might be my issue. Is there any way in the json package to tell it to ignore self-signed cert errors in a url? I didn't have that issue when using the link you offered: library(jsonlite) myJSON <- fromJSON( url("https://www.semantic-mediawiki.org/w/api.php?action=ask&query=%5B%5BCategory:City%5D%5D&format=json") ) # results in a complex list (not trivially reducible to a dataframe: str(myJSON) List of 1 $ query:List of 5 ..$ printreque...
2018 May 08
0
help with json data from the web into data frame in R
...there is a certificate warning that I have to click through from a browser. That might be my issue. Is there any way in the json package to tell it to ignore self-signed cert errors in a url? > > I didn't have that issue when using the link you offered: > > library(jsonlite) > myJSON <- fromJSON( url("https://www.semantic-mediawiki.org/w/api.php?action=ask&query=%5B%5BCategory:City%5D%5D&format=json") ) > > # results in a complex list (not trivially reducible to a dataframe: > > str(myJSON) > List of 1 > $ query:List of 5 > ..$ print...
2018 May 08
3
help with json data from the web into data frame in R
...there is a certificate warning that I have to click through from a browser. That might be my issue. Is there any way in the json package to tell it to ignore self-signed cert errors in a url? > > I didn't have that issue when using the link you offered: > > library(jsonlite) > myJSON <- fromJSON( url("https://www.semantic-mediawiki.org/w/api.php?action=ask&query=%5B%5BCategory:City%5D%5D&format=json") ) > > # results in a complex list (not trivially reducible to a dataframe: > > str(myJSON) > List of 1 > $ query:List of 5 > ..$ print...
2012 Aug 24
1
RJSONIO/rjson maximum depth?
Hi All, has anyone run into maximum depth of nested JSON arrays in either rjson or RJSONIO ? I seem to be able to get up to 10 depth levels without problem, but crossing over to 11 either causes an error or fails to load the nodes properly. with RJSONIO I tried: a = fromJSON('data/myJSON.json', depth=1000) but I still get this error: Error in fromJSON(content, handler, default.size, depth, allowComments, : Invalid JSON Node The JSON file loads correctly until I add this node at the 10th level of an existing node (note all of my nodes have this exact format: "node3...
2018 May 08
0
help with json data from the web into data frame in R
...ate warning that I have to click through from a browser. That might be my issue. Is there any way in the json package to tell it to ignore self-signed cert errors in a url? >> >> I didn't have that issue when using the link you offered: >> >> library(jsonlite) >> myJSON <- fromJSON( url("https://www.semantic-mediawiki.org/w/api.php?action=ask&query=%5B%5BCategory:City%5D%5D&format=json") ) >> >> # results in a complex list (not trivially reducible to a dataframe: >> >> str(myJSON) >> List of 1 >> $ query:L...