Fullcalendar Duplicate entries on change of view

I'm having trouble with duplicates when changing views on fullcalendar after an update. I call the following function after and add/edit/erase or change of selected users. var u=''; $('#tree1...

Access nested json data in single get?

I am trying to trying to get a value out of a json object. How would I get a third level json object: json format looks like: feedString =...

How to access second level JSON object via $.getJSON

Hi guys please take a look at this having trouble reaching second level inside a object that looks like this: { "results": [{ "title": "TEAM", "subtitle": "athletes", ...

Android-JSON Parsing

I have a JSON string like this: ["<a href='http://adda.com/jsonFeed/faJsonFeedDetails.php?jid=12036'>SPICE JET Recruits Freshers Data Entry Operator in Gurgaon</a><br><br><br>","<a...

socket.io + node cross domain ... possible?

So, is possible to watchFile a file that is not in your own domain cross-domain. For example something like this: var app = require('http').createServer(handler), io =...

Swift error parsing Facebook Graph API object: EXC_BAD_INSTRUCTION(code=EXC_I386_INVOP)

I was trying to fetch Facebook group information, and I encountered an error I don't know how to fix. When I try to access individual item for a Group's Feed, I cast a Feed from AnyObject to...

Creating an Array of objects from the Facebook SDK in Swift

Im new to Swift and IOS programming in general so maybe im just google ing the wrong things I have the Facebook SDK working and returning the albums. Now i want the data in objects named Album....

AJAX on liferay portlets

I am trying to send an AJAX request to a portlet, and it half works. I show you my code and after explain better: The jQuery AJAX: jQuery("#operation").click(function() { var url =...

How to submit form after an Ajax call

I have a form like something like this <form id="formCategorias" action="./index.php" method="post"> <input type="hidden" value="5" name="pais"> <table> <tbody> <tr class="row"> ...

Json.Net Changing from JObject loops to JArray

I'm pulling a JSON feed that looks like this. { "bank": [ { "id": 35, "name": "bank 1", "endpoints": [ { "epId":...

NSSortDescriptor evaluating ascending numbers (Swift)

App has contentid coming in as a number string from a json file: let contentid: AnyObject! = jsonFeed["contentid"] let stream:Dictionary = [ "contentId": contentid as! String, ] It is later...

Get object of case class from regex match

i'm working on scraping data from a webpage with scala regex-es, but i encountered problem with parsing result to object of some case class-es. In following snippet i managed to scrape all the...

Attempted to finish an input event but the input event receiver has already been disposed

I am trying out a Tutorial i saw online,The app Gets and displays JSONfeed from server,this part works correctly,i am trying to display this feed in Custom listview but when i try to do so i get...

IOS: How to check json object is not null

I am getting an error with the following code when some json is null even though I am trying to check that first: Edit: Preceding Code: NSData* data = [NSData dataWithContentsOfURL: kItemsURL]; ...

AngularJS extract <img> from JSON

How can I extract certain tag, for example img when parsing JSON in AngularJS? I have a JSON file with following data: jsonFeed({ "title": "My Blog", "items": [ { "title": "Title1", ...

IOS: Main thread slowing down during background operation

I am using the following code to conduct what I want to be a background sync but the main thread is slowing down or even coming to a halt when the json received is larger than 20 or so records. ...

leafeltjs (mapbox) z-index ordering not working

Another developer created our original map but I'm tasked with making some changes. One of these is making sure the activated marker is brought to the front when clicked on (where it is partially...

LINQ to JSON - Setup list from dynamic nested array

Here's the json string that I have. { "?xml" : { "@version" : "1.0", "@encoding" : "UTF-8" }, "DataFeed" : { "@FeedName" : "issuerDetails", "SecurityDetails" : { "Security" :...

LINQ to JSON - NullReferenceException error from a JToken that could be either a JValue or JArray

I'm trying to select all users with a roleId of 4 based on the first element of the array or value. How can I do that? Also, how can I display the roleId? Here's my JSON string: { "?xml" :...

TRON swift response header

Hi i'm using TRON framework for an iOS swift project and i'm having some trouble finding the correct documentation to access the response header for my request. For the backend i'm using Wordpress...

Hibernate AutoGenerated value not working with Jackson mapper

I am just started with using Spring Boot CrudRepository, Now my Enitity having one Unique field(not P.K) FeedID with auto generated value. When i create a new object manually without setting a...

Python3 json load issue

I am trying to parse empty json file and trying to append the new data inside the Array. this is what I am trying for: [{'key1': 'value1'}, {'key2': 'value2'}] here is my code: import json import...

How do I load an object object from a Future class into another object/class?

I have two Futures which load a String from a JSON File for me. My Goal is to have a class Data within which, I can hold different objects (for example Feed). What I don't understand right now, is...

How to populate modal on event click?

Currently setting up FullCalendar using ReactJS. I can populate my calendar and the events but having trouble with the eventClick={}. How can I populate a modal using eventClick={} and retrieve...

Discrepancy between JSON from API received by IOS app vs. viewed in Postman or browser

I am using NSURLSession to receive JSON from an API written in PHP that pulls from a MYSQL database. For one query from a certain MYSQL table, the phone cannot seem to read the JSON produced by...

Updating the react state/component correctly?

I am trying to make my component reactive on updates. I am using componentDidUpdate() to check if the components prop state has changed, then if it has it is has I need the getPosts() function to...

Typescript object literal may only specify known properties error

I am new to typescript/react. I have this type error below which I am unsure on how to tackle. Can anybody enlighten me? Error: [tsc] src/webparts/jsonFeed/components/JsonFeed.tsx(40,8): error...

Each child in a list should have a unique key - react error

EDIT, SOLVED: Its because the outer div needs the key set on it. The most parent element must have the key set. Each div should have a unique key as I am using the shortid library to generate one,...

Link in python dictionary

So for a school project I have to read in some data through an api. So far everything (kinda) works, but when I try to read in some data underneath a couple of links, I get keyerrors. I would not...

JSON Feed to RSS (Problems)

I am having a problem with converting a JSON feed into a RSS feed. I am attempting to do this in a single function, seen below. I found code on GitHub — but it doesn't work properly — and I...