//
// RootViewController.m
// JsonPetser33
//
// Created by ME on 9/26/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import "RootViewController.h"
//
#import "SBJson.h"
#import "ASIHTTPRequest.h"
#import…
I'm using SBJson to parse by JSON string. Some requests return somethink like this:
{
"jsonResponse":[{
"id":"2",
"name":"Somename",
"title":"Json problem:"ErrorParsing"", //problem is here. with double quotations. how to remove them or remove…
I have some code that downloads lessons as JSON, parses them, and puts them into core data. They are then displayed in a UITableView. Currently, when a user has many lessons the connection sometimes times out. So I am attempting to parse the…
I am using SBJson framework (also known as json-framework) for the iOS.
When parsing a certain JSON file, I am getting the following error:
-JSONValue failed. Error is: Unescaped control character [0x09]'
I have used this framework many times and I…
I have the following code that is trying to parse a JSON that I am returning from a website:
- (void)connectionDidFinishLoading:(NSURLConnection *)connection {
[connection release];
NSString *responseString = [[NSString alloc]…
I want to parse a JSON file in my iphone app. The problem is i can parse simple json files but i am confused how to do parsing on following type of json:
[{"123":
[{ "item_id":"222",
"image_count":"2",
"image_filetype":".jpg",
…
Hello We are using SBJson lib with version pod 'SBJson', '~>2.2.3' and want migrate to latest version pod 'SBJson5', '~> 5.0.0'.
What will be effort to migrate. I mean will it support old methods or do i need find the deprecated or changed…
I am creating a table with multiple columns. In the left column I want to get the indicator name which is stored in a database and I have to check that the indicator id in database and in json (API) matches and then display the name in that column.…
I have a small app I am testing in XCode6 and I get 2 compiler warnings for the SBSJsonParser.m file
Semantic Issue variable 'k' may be uninitialized when used here (in function scanRestOfDictionary)
c++;
if (![self scanValue:&v]) {
…
I m using SBJson version 4.0.0.
I parse my JSON by invoke this function (from SBJson documentation):
+ (id)parserWithBlock:(SBJson4ValueBlock)block
allowMultiRoot:(BOOL)allowMultiRoot
unwrapRootArray:(BOOL)unwrapRootArray
…
I'm trying to parse a JSON feed from my wordpress blog. I've got a custom field I need to use but can't get it to work with SBJson. Here's how my feed looks like (I've stripped the other useless stuff):
{
"status":"ok",
"count":27,
…
How to add double quotes for numbers. When I am parsing, for numbers not coming double quotes. For strings double quotes are coming fine. I want double quotes for all. Below is my array of dictionary
This array of dictionary I was created
(
…
I am trying to log into a server, but I am receiving an error. I am using SBJSON to convert the request into JSON, and to convert it from JSON back to a string, and I am using one method to make all of my API calls. I've looked around for a…