Giter Site home page Giter Site logo

crash with iOS9 Xcode7 about jsonkit HOT 5 OPEN

Baoge2012 avatar Baoge2012 commented on May 30, 2024
crash with iOS9 Xcode7

from jsonkit.

Comments (5)

ElleSkye117 avatar ElleSkye117 commented on May 30, 2024 1

Migrate away from jsonkit. This library hasn't been updated in years.

from jsonkit.

devedup avatar devedup commented on May 30, 2024

I just ditched JSonKit completely and replaced with the Foundation version:

NSError *error = nil;
NSData *jsonData = [NSJSONSerialization dataWithJSONObject:str
                                                      options:NSJSONWritingPrettyPrinted error:&error];
if (!jsonData) {
    NSLog(@"Error creating JSON object %@", error);
}

and

NSError* error;
NSDictionary *result = [NSJSONSerialization
                                          JSONObjectWithData:data
                                          options:kNilOptions 
                                          error:&error];

from jsonkit.

glb888 avatar glb888 commented on May 30, 2024

X

from jsonkit.

jcbertin avatar jcbertin commented on May 30, 2024

See #158.

from jsonkit.

Baoge2012 avatar Baoge2012 commented on May 30, 2024

@devedup I did that too.

from jsonkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.