Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Contributor
Posts: 3
Registered: ‎12-14-2011
My Device: playbook
My Carrier: AT&T

json creation and HTTP connection

Hi I want to create a json object and then make a HTTP connection to send it to an internet service.Are there any libraries I can use?

Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: json creation and HTTP connection

New Contributor
Posts: 3
Registered: ‎12-14-2011
My Device: playbook
My Carrier: AT&T

Re: json creation and HTTP connection

Any ideas about the json?

I'm trying to include json/json.h but I'm getting a build error

Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: json creation and HTTP connection

I don't see any json stuff ready for Native SDK. No headers, no libraries. -(

Developer
Developer
Posts: 122
Registered: ‎08-11-2008
My Device: 9700
My Carrier: XL

Re: json creation and HTTP connection

 

Hi,

 

I think you can add  this project to your source code:

http://oss.metaparadigm.com/json-c/

 

the json-c come with MIT License,

you can use it for free, include it on your source code.

 

--
"Give kudos (star) if you feel response is helpful"
New Contributor
Posts: 3
Registered: ‎12-14-2011
My Device: playbook
My Carrier: AT&T

Re: json creation and HTTP connection

Yeah I've done that,I've put json-c library in my source code but when I'm trying to build the project I'm getting a whole banch of errors in the console and the errors are not from my project but from the json-c library.

Any thoughts?

Highlighted
Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: json creation and HTTP connection

That is what called 'porting'. ;-) Once you resolve all the problems/errors you'll have json library.