yajl is an event-driven C JSON parser and generator
Questions tagged [yajl]
76 questions
1
vote
1 answer
extracting values from json file using ijson
I have a large JSON file which looks like this :
{"details":{
"1000":[
["10","Thursday","1","19.89"],
["12","Monday","3","20.90"],
...
]
"1001":[
["30","Sunday","11","80.22"],
…

Anmol
- 339
- 1
- 4
- 17
1
vote
2 answers
iPhone: is YAJL accepted for usage by the AppStore?
Does anyone know if using YAJL for JSON parsing on iOS is accepted by the AppStore?

dpigera
- 3,339
- 5
- 39
- 60
1
vote
1 answer
YAJL-ObjC + Streaming Parser + gzip
I'm successfully using yajl-objc along with ASIHTTPRequest in an iPhone project that does network access and pulls down and parses JSON data. ASIHTTPRequest allows gzipped HTTP responses by default, which is great, but I'm using the streaming parser…

Collin Allen
- 4,449
- 3
- 37
- 52
1
vote
1 answer
json parse error: invalid char in json text
I faced with a problem parsing json file with yajl-ruby.
It shows an error of this kind:
'parse': lexical error: invalid char in json text. (Yajl::ParseError)
{ "inquiry": { "
(right here) ------^
I have…

Alexander.Iljushkin
- 4,519
- 7
- 29
- 46
1
vote
1 answer
how to use c yajl for streaming
I have been playing with yajl for a couple of days and really like the tree node model. After it is done parsing you get the structure of your json file and you can go through it. Like the example here:…

evenprime
- 99
- 10
1
vote
0 answers
uninitialized constant Yajl with yajl-ruby included in Gemfile Rails 4
When I call Yajl::Parse in controller, i got the error "uninitialized constant Yajl".
I have included gem 'yajl-ruby', '~> 1.1.0', require: 'yajl' in Gemfile and executed "bundle install", but it didn't solve the problem.
I also tried to require…

a.yazaki
- 11
- 1
1
vote
0 answers
I can't get the value retrieved using MGTwitterEngine(iPhone) for Twitter API 1.1
I use MGTwitterEngine(iPhone).
But I can't get the value retrieved using MGTwitterYAJLParser…
Following is described
https://dev.twitter.com/docs/api/1.1/get/search/tweets.
here is my code….
MGTwitterSearchYAJLParser.m
-…

tonosama
- 29
- 2
1
vote
2 answers
error when importing ijson module python
I need to parse some large (2 Gb+) files into python. I have tried it with the json module but I get a memory error as its methods all load the files at once.
I then moved on into installing ijson which suposedly implements a iterator-based way of…

Daniel Vieira
- 461
- 5
- 19
0
votes
1 answer
YAJLiOS can't parse non English letters?
i have question about YAJLiOS parser...
I have next json data :
{{
body = "Привет";
mid = 3;
"read_state" = 1;
}
{ body = "hi";
mid = 3;
"read_state" = 1;
}}
and i'm trying to get "body" , result is :…

Vlad Z.
- 3,401
- 3
- 32
- 60
0
votes
1 answer
Can I use YAJL iOS framework?
I want to use YAJL-iOS framework in my iOS app. But I m just concerned if Apple would reject the app since they do not allow external frameworks.
Can someone provide some advice on this matter.
Thanks

jajo87
- 1,388
- 2
- 11
- 15
0
votes
1 answer
Are there simple examples of how to parse a simple JSON file using the C-based YAJL library?
I know there is an Objective-C wrapper around YAJL, but this is a really fat thing which blows up the whole JASON parser to a ridiculous huge amount of 21 files, many of them with tiny scroll bars.
So to keep my app binary small I'd like to stick…

openfrog
- 40,201
- 65
- 225
- 373
0
votes
2 answers
How to read Watson Visual Recognition JSON Respsonse with YAJL Library?
How do I use the YAJL lib from Scott Klement correctly to read the response of Watson Visual Recognition? The json object looks like this:
{
"images": [
{
"classifiers": [
{
"classifier_id": "default",
…

nicowi
- 470
- 2
- 4
- 15
0
votes
1 answer
RPG YAJL parse array within an array
New to RPG and I'm a little lost on how to do this. "data" is an array with info I need, I am able to parse this. However "cargoLoaded" is an array inside the "data" array which contains a single item "cargoSensor1". I need the value of…

Dominick
- 23
- 3
0
votes
1 answer
YAJL memory leak problem array
I am trying to fetch JSON data every 2 seconds and pass it to another class for processing, everything works fine but the below code seems to have memory leaks (from Instruments) but I cannot figure out what is wrong and how I can fix, can someone…

Linus
- 825
- 4
- 20
- 33
0
votes
1 answer
How do I successfully import YAJLiOS JSON Framework in to my iOS project?
I'm trying to use the YAJLiOS framework for JSON in my project as I've been told it's the fastest JSON framework to use.
Anyway I've dragged the folder called YAJLiOS.framework in to the Link Binary With Libraries window and added the -ObjC and…

Dan
- 1
- 2