Ravi
Ravi

Reputation: 940

HTTP Post JSON Object Using Tizen Native

I'm trying to post data in JSON Format using HTTP Post in Tizen wearable native, but there is no sample from their website. There is a code snippet for http request HTTP Post Request but not specifying how to include a JSON Object. Can anyone let me know?

Thanks in advance!

Upvotes: 0

Views: 887

Answers (1)

Md. Armaan-Ul-Islam
Md. Armaan-Ul-Islam

Reputation: 2184

In Tizen API References, It's stated that:

Tizen Wearable 2.3.2 Supports: Json-Glib Version 0.10.4 (Ref)

Tizen Wearable 3.0 Supports: Json-Glib Version 1.2.0 (Ref)

Migrate to 1.2.0 first.

This detailed Guide seems relevant:

Native Application Dev Tip - Tutorial of JSON parser

Additional: If still issue exists After Migrating to Json-Glib Version 1.2.0, May try any other C Libraries for JSON.

http://www.json.org/

CJSON seems a good option also. Only copy the .c & .h files, You are good to go (As per the Guide stated).

Upvotes: 1

Related Questions